diff --git a/local-interchain/rust/localic-std/src/modules/cosmwasm.rs b/local-interchain/rust/localic-std/src/modules/cosmwasm.rs index 4044731a2..627cb3d90 100644 --- a/local-interchain/rust/localic-std/src/modules/cosmwasm.rs +++ b/local-interchain/rust/localic-std/src/modules/cosmwasm.rs @@ -287,7 +287,7 @@ pub fn get_contract_address(rb: &ChainRequestBuilder, tx_hash: &str) -> Result Result { - let res = rb.query_tx_hash(tx_hash); + let mut res = rb.query_tx_hash(tx_hash); let code = res["code"].as_i64().unwrap_or_default(); if code != 0 { @@ -298,7 +298,13 @@ fn get_contract(rb: &ChainRequestBuilder, tx_hash: &str) -> Result