Skip to content

Commit

Permalink
Merge pull request #697 from giansalex/ics20-missing-assert
Browse files Browse the repository at this point in the history
cw20-ics20: fix missing assert
  • Loading branch information
ueco-jb authored Apr 1, 2022
2 parents f0731c0 + 7dc1691 commit e425c61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/cw20-ics20/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ mod test {
res.messages[0]
);
let ack: Ics20Ack = from_binary(&res.acknowledgement).unwrap();
matches!(ack, Ics20Ack::Result(_));
assert!(matches!(ack, Ics20Ack::Result(_)));

// TODO: we need to call the reply block

Expand Down Expand Up @@ -616,7 +616,7 @@ mod test {
res.messages[0]
);
let ack: Ics20Ack = from_binary(&res.acknowledgement).unwrap();
matches!(ack, Ics20Ack::Result(_));
assert!(matches!(ack, Ics20Ack::Result(_)));

// only need to call reply block on error case

Expand Down

0 comments on commit e425c61

Please sign in to comment.