Skip to content

Commit

Permalink
fix(ucs01-relay): convery error to string
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonPhang committed Jun 10, 2024
1 parent 69d3536 commit 5f33dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmwasm/ucs01-relay/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ impl<'a> TransferProtocol for Ics20Protocol<'a> {
match foreign_protocol {
Ucs01Protocol::VERSION => Ok(match ack {
Ok(_) => Ucs01Protocol::ack_success(),
Err(e) => Ucs01Protocol::ack_failure(e),
Err(e) => Ucs01Protocol::ack_failure(e.to_string()),
}
.into()),
Ics20Protocol::VERSION => Ok(ack),
Expand Down

0 comments on commit 5f33dbd

Please sign in to comment.