diff --git a/contracts/cosmwasm-vm/cw-xcall/src/fee_handler.rs b/contracts/cosmwasm-vm/cw-xcall/src/fee_handler.rs index e0ef4b80..ead419ff 100644 --- a/contracts/cosmwasm-vm/cw-xcall/src/fee_handler.rs +++ b/contracts/cosmwasm-vm/cw-xcall/src/fee_handler.rs @@ -28,6 +28,7 @@ impl<'a> CwCallService<'a> { address: String, ) -> Result { self.ensure_admin(deps.storage, info.sender.clone())?; + deps.api.addr_validate(&address)?; self.add_feehandler(deps.storage, &address)?; Ok(Response::new().add_attribute("method", "set_protocol_feehandler")) }