From b99f955238b94f48f6089f254165c18a90daae5f Mon Sep 17 00:00:00 2001 From: Alexander Evgin Date: Mon, 2 Dec 2024 14:25:54 +0400 Subject: [PATCH] Fix possible hard error warning Related to https://github.com/rust-lang/rust/issues/123748 --- src/base_client.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/base_client.rs b/src/base_client.rs index 37dfc06..c8f3bc0 100644 --- a/src/base_client.rs +++ b/src/base_client.rs @@ -203,7 +203,11 @@ impl BaseClient { log::debug!("token transfer msg: {:?}", msg); - self.send_msg_sync(msg, "token transfer").await?; + self.send_msg_sync::<_, cosmrs::proto::cosmos::bank::v1beta1::MsgSendResponse>( + msg, + "token transfer", + ) + .await?; Ok(()) }