From 300c16f11c1c194b9187a4d442836cfa1047d0a1 Mon Sep 17 00:00:00 2001 From: Christian Gorenflo Date: Tue, 19 Sep 2023 03:45:36 -0400 Subject: [PATCH] Update contracts/gateway/tests/mock.rs --- contracts/gateway/tests/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/gateway/tests/mock.rs b/contracts/gateway/tests/mock.rs index 8f850476c..df8b99349 100644 --- a/contracts/gateway/tests/mock.rs +++ b/contracts/gateway/tests/mock.rs @@ -109,7 +109,7 @@ pub fn mock_router_execute( match msg { connection_router::msg::ExecuteMsg::RouteMessages(msgs) => { for msg in msgs { - let msg: connection_router::state::Message = msg.try_into()?; + let msg = connection_router::state::Message::try_from(msg)?; MOCK_ROUTER_MESSAGES.save(deps.storage, msg.id.to_string(), &msg)?; } }