We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quoting from https://github.com/CosmWasm/cw-plus/blob/main/packages/cw4/src/helpers.rs#L45-L48:
pub fn remove_hook<T: Into<String>>(&self, addr: T) -> StdResult<CosmosMsg> { let msg = Cw4ExecuteMsg::AddHook { addr: addr.into() }; //uses AddHook instead of RemoveHook self.encode_msg(msg) }
Probably should be:
pub fn remove_hook<T: Into<String>>(&self, addr: T) -> StdResult<CosmosMsg> { let msg = Cw4ExecuteMsg::RemoveHook { addr: addr.into() }; self.encode_msg(msg) }
PS: This was found during an audit.
The text was updated successfully, but these errors were encountered:
Thanks, we'll fix it asap.
Sorry, something went wrong.
remove_hook
maurolacy
Successfully merging a pull request may close this issue.
Quoting from https://github.com/CosmWasm/cw-plus/blob/main/packages/cw4/src/helpers.rs#L45-L48:
Probably should be:
PS: This was found during an audit.
The text was updated successfully, but these errors were encountered: