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 2e7f8b8 commit ebb6e57Copy full SHA for ebb6e57
contracts/staking/src/state.rs
@@ -42,7 +42,7 @@ pub fn load_map<T: DeserializeOwned>(
42
prefix: &[u8],
43
key: &CanonicalAddr,
44
) -> StdResult<T> {
45
- may_load_map(storage, prefix, key)?.ok_or_else(|| StdError::msg(format!("map value for {key}")))
+ may_load_map(storage, prefix, key)?.ok_or_else(|| StdError::msg(format!("map value for {key} not found")))
46
}
47
48
/// Investment info is fixed at initialization, and is used to control the function of the contract
0 commit comments