diff --git a/packages/cw4/src/helpers.rs b/packages/cw4/src/helpers.rs index 93514a36c..c692f29e7 100644 --- a/packages/cw4/src/helpers.rs +++ b/packages/cw4/src/helpers.rs @@ -43,7 +43,7 @@ impl Cw4Contract { } pub fn remove_hook>(&self, addr: T) -> StdResult { - let msg = Cw4ExecuteMsg::AddHook { addr: addr.into() }; + let msg = Cw4ExecuteMsg::RemoveHook { addr: addr.into() }; self.encode_msg(msg) }