Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Kurcz <uint@lavabit.com>
  • Loading branch information
chipshort and uint committed Sep 28, 2022
1 parent a691beb commit 86bd569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/multi-test/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ where
// check admin status
let mut data = self.load_contract(storage, &contract_addr)?;
if data.admin != Some(sender) {
bail!("Only admin can clear contract admin: {:?}", data.admin);
bail!("Only admin can update the contract admin: {:?}", data.admin);
}
// update admin field
data.admin = admin;
Expand Down

0 comments on commit 86bd569

Please sign in to comment.