From 5f33dbd1b1bbc0149597ce72e94c641d1bb39c35 Mon Sep 17 00:00:00 2001 From: poisonphang <17688291+PoisonPhang@users.noreply.github.com> Date: Sun, 9 Jun 2024 21:30:55 -0500 Subject: [PATCH] fix(ucs01-relay): convery error to string --- cosmwasm/ucs01-relay/src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmwasm/ucs01-relay/src/protocol.rs b/cosmwasm/ucs01-relay/src/protocol.rs index 63977efbb0..9b8c9f7f1d 100644 --- a/cosmwasm/ucs01-relay/src/protocol.rs +++ b/cosmwasm/ucs01-relay/src/protocol.rs @@ -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),