diff --git a/examples/contracts/cw20-base/src/responses.rs b/examples/contracts/cw20-base/src/responses.rs index 27e726eb..a3aaf6ff 100644 --- a/examples/contracts/cw20-base/src/responses.rs +++ b/examples/contracts/cw20-base/src/responses.rs @@ -18,7 +18,7 @@ impl Cw20ReceiveMsg { } /// creates a cosmos_msg sending this struct to the named contract - pub fn into_cosmos_msg>(self, contract_addr: T) -> StdResult { + pub fn into_cosmos_msg, E>(self, contract_addr: T) -> StdResult> { let msg = self.into_json_binary()?; let execute = WasmMsg::Execute { contract_addr: contract_addr.into(),