Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvja committed Oct 15, 2024
1 parent f716ed5 commit 2754dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solana/solana-ibc/programs/solana-ibc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2754dec

Please sign in to comment.