We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68a5ce commit 21368f3Copy full SHA for 21368f3
contracts/hackatom/src/contract.rs
@@ -53,7 +53,7 @@ pub fn migrate(
53
let data = deps
54
.storage
55
.get(CONFIG_KEY)
56
- .ok_or_else(|| StdError::msg("State"))?;
+ .ok_or_else(|| StdError::msg("State not found"))?;
57
let mut config: State = from_json(data)?;
58
config.verifier = deps.api.addr_validate(&msg.verifier)?;
59
deps.storage.set(CONFIG_KEY, &to_json_vec(&config)?);
0 commit comments