Skip to content

Commit 90081a7

Browse files
committed
safe cargo clippy changes
1 parent dd0b108 commit 90081a7

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

executors/src/eoa/store/atomic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ impl AtomicEoaExecutorStore {
593593
let ttl_seconds = self.completed_transaction_ttl_seconds as i64;
594594
pipeline.expire(&tx_data_key, ttl_seconds);
595595
pipeline.expire(
596-
&self.transaction_attempts_list_name(&pending_transaction.transaction_id),
596+
self.transaction_attempts_list_name(&pending_transaction.transaction_id),
597597
ttl_seconds,
598598
);
599599

@@ -670,7 +670,7 @@ impl AtomicEoaExecutorStore {
670670
let ttl_seconds = self.completed_transaction_ttl_seconds as i64;
671671
pipeline.expire(&tx_data_key, ttl_seconds);
672672
pipeline.expire(
673-
&self.transaction_attempts_list_name(&pending_transaction.transaction_id),
673+
self.transaction_attempts_list_name(&pending_transaction.transaction_id),
674674
ttl_seconds,
675675
);
676676
}

executors/src/eoa/store/borrowed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ impl SafeRedisTransaction for ProcessBorrowedTransactions<'_> {
231231
let ttl_seconds = self.completed_transaction_ttl_seconds as i64;
232232
pipeline.expire(&tx_data_key, ttl_seconds);
233233
pipeline.expire(
234-
&self.keys.transaction_attempts_list_name(transaction_id),
234+
self.keys.transaction_attempts_list_name(transaction_id),
235235
ttl_seconds,
236236
);
237237

executors/src/eoa/store/submitted.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl SafeRedisTransaction for CleanSubmittedTransactions<'_> {
364364
// Add TTL expiration
365365
let ttl_seconds = self.completed_transaction_ttl_seconds as i64;
366366
pipeline.expire(&data_key_name, ttl_seconds);
367-
pipeline.expire(&self.keys.transaction_attempts_list_name(id), ttl_seconds);
367+
pipeline.expire(self.keys.transaction_attempts_list_name(id), ttl_seconds);
368368

369369
if let SubmittedTransactionHydrated::Real(tx) = tx {
370370
// Record metrics: transaction queued to mined for confirmed transactions

executors/src/solana_executor/rpc_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl SolanaRpcCache {
4545
};
4646

4747
let key = RpcCacheKey {
48-
chain_id: chain_id.clone(),
48+
chain_id,
4949
rpc_url: rpc_url.clone(),
5050
};
5151

0 commit comments

Comments
 (0)