Skip to content

Commit 19c6211

Browse files
committed
fix: clippy warnings
Signed-off-by: William Hankins <william@sundae.fi>
1 parent cefa83c commit 19c6211

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/historical_accounts_state/src/historical_accounts_state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ impl HistoricalAccountsState {
175175
);
176176
let _entered = span.enter();
177177

178-
Self::check_sync(&current_block, &block_info);
178+
Self::check_sync(&current_block, block_info);
179179
{
180180
let mut state = state_mutex.lock().await;
181-
state.handle_address_deltas(&deltas_msg);
181+
state.handle_address_deltas(deltas_msg);
182182
}
183183
}
184184

modules/historical_accounts_state/src/immutable_historical_account_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl ImmutableHistoricalAccountStore {
135135
if let Some(updates) = &entry.addresses {
136136
for address in updates {
137137
let address_key = Self::make_address_key(&account, address.clone());
138-
batch.insert(&self.addresses, address_key, &[]);
138+
batch.insert(&self.addresses, address_key, []);
139139
}
140140
}
141141
}

0 commit comments

Comments
 (0)