Skip to content

Commit 079bbf1

Browse files
aumetrachipshort
andauthored
Update contracts/reflect/src/state.rs
Co-authored-by: Christoph Otter <[email protected]>
1 parent e2c33a9 commit 079bbf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/reflect/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct State {
1818
pub fn load_reply(storage: &dyn Storage, id: u64) -> StdResult<Reply> {
1919
storage
2020
.get(&namespace_with_key(&[RESULT_PREFIX], &id.to_be_bytes()))
21-
.ok_or_else(|| StdError::msg(format!("reply {id}")))
21+
.ok_or_else(|| StdError::msg(format!("reply {id} not found")))
2222
.and_then(from_json)
2323
}
2424

0 commit comments

Comments
 (0)