From 2754dec44fcc09d4b15c544fdacbd7016ebd7f94 Mon Sep 17 00:00:00 2001 From: dhruvja Date: Wed, 16 Oct 2024 01:04:15 +0530 Subject: [PATCH] fix clippy --- solana/solana-ibc/programs/solana-ibc/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solana/solana-ibc/programs/solana-ibc/src/lib.rs b/solana/solana-ibc/programs/solana-ibc/src/lib.rs index 659f5e2a..9341c689 100644 --- a/solana/solana-ibc/programs/solana-ibc/src/lib.rs +++ b/solana/solana-ibc/programs/solana-ibc/src/lib.rs @@ -402,7 +402,7 @@ pub mod solana_ibc { let height = store.borrow().chain.head()?.block_height; // height just before the data is added to the trie. msg!("Current Block height {}", height); - let previous_root = store.borrow().provable.hash().clone(); + let previous_root = *store.borrow().provable.hash(); ::ibc::core::entrypoint::dispatch(&mut store, &mut router, message) .map_err(error::Error::ContextError)