Skip to content

Commit

Permalink
Merge branch 'main' into 462-type-safe-bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy authored Jan 28, 2022
2 parents bc1778e + 147ad3c commit 0150c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cw4/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl Cw4Contract {
}

pub fn remove_hook<T: Into<String>>(&self, addr: T) -> StdResult<CosmosMsg> {
let msg = Cw4ExecuteMsg::AddHook { addr: addr.into() };
let msg = Cw4ExecuteMsg::RemoveHook { addr: addr.into() };
self.encode_msg(msg)
}

Expand Down

0 comments on commit 0150c85

Please sign in to comment.