Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
alenmestrov committed Nov 14, 2024
1 parent d9f018b commit c02695f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/blockchain/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ impl AppState {
) -> Result<Vec<Message>, Error> {
env::log(&format!("env Get messages for proposal: {:?}", proposal_id));
let res = &self.messages.get(&proposal_id).unwrap();
env::log(&format!("Get messages for proposal from storage: {:?}", res));
env::log(&format!(
"Get messages for proposal from storage: {:?}",
res
));
match res {
Some(messages) => Ok(messages.clone()),
None => Ok(vec![]),
Expand Down

0 comments on commit c02695f

Please sign in to comment.