Skip to content

Commit

Permalink
Fix: msg deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Sep 29, 2020
1 parent 8eebcf0 commit 6f46e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/cw721-base/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub fn handle_send_nft<S: Storage, A: Api, Q: Querier>(
// Unwrap message first
let msgs: Vec<CosmosMsg> = match &msg {
None => vec![],
Some(msg) => from_binary(msg)?,
Some(msg) => vec![from_binary(msg)?],
};

// Transfer token
Expand Down

0 comments on commit 6f46e1e

Please sign in to comment.