From c02695ffbb4956a5c465417663445faacc147c78 Mon Sep 17 00:00:00 2001 From: alenmestrov Date: Thu, 14 Nov 2024 17:16:58 +0100 Subject: [PATCH] fix: linter --- apps/blockchain/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/blockchain/src/lib.rs b/apps/blockchain/src/lib.rs index 397c8ab67..a9739ddba 100644 --- a/apps/blockchain/src/lib.rs +++ b/apps/blockchain/src/lib.rs @@ -97,7 +97,10 @@ impl AppState { ) -> Result, 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![]),