Skip to content

Commit ebb6e57

Browse files
aumetrachipshort
andauthored
Update contracts/staking/src/state.rs
Co-authored-by: Christoph Otter <[email protected]>
1 parent 2e7f8b8 commit ebb6e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/staking/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn load_map<T: DeserializeOwned>(
4242
prefix: &[u8],
4343
key: &CanonicalAddr,
4444
) -> StdResult<T> {
45-
may_load_map(storage, prefix, key)?.ok_or_else(|| StdError::msg(format!("map value for {key}")))
45+
may_load_map(storage, prefix, key)?.ok_or_else(|| StdError::msg(format!("map value for {key} not found")))
4646
}
4747

4848
/// Investment info is fixed at initialization, and is used to control the function of the contract

0 commit comments

Comments
 (0)