diff --git a/solana/solana-ibc/programs/solana-ibc/src/lib.rs b/solana/solana-ibc/programs/solana-ibc/src/lib.rs index 658f6e97..f9821daa 100644 --- a/solana/solana-ibc/programs/solana-ibc/src/lib.rs +++ b/solana/solana-ibc/programs/solana-ibc/src/lib.rs @@ -416,8 +416,8 @@ pub mod solana_ibc { let clock = Clock::get()?; let slot = clock.slot; let timestamp = clock.unix_timestamp as u64; - let storage = &mut store.borrow_mut().private; - storage + store.borrow_mut() + .private; .add_local_consensus_state(slot, timestamp, root) .unwrap(); }