diff --git a/contracts/core-contracts/cw-asset-manager/src/contract.rs b/contracts/core-contracts/cw-asset-manager/src/contract.rs index 34164a2..945d320 100644 --- a/contracts/core-contracts/cw-asset-manager/src/contract.rs +++ b/contracts/core-contracts/cw-asset-manager/src/contract.rs @@ -304,8 +304,7 @@ mod exec { from: String, data: Vec, ) -> Result { - let xcall = SOURCE_XCALL.load(deps.storage)?; - let x_call_addr = deps.api.addr_validate(xcall.as_ref())?; + let x_call_addr = SOURCE_XCALL.load(deps.storage)?; let x_network = X_CALL_NETWORK_ADDRESS.load(deps.storage)?; if info.sender != x_call_addr {