mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
chore(txpool): remove redundant locals clone in config (#21477)
This commit is contained in:
@@ -507,7 +507,7 @@ impl RethTransactionPoolConfig for TxPoolArgs {
|
||||
PoolConfig {
|
||||
local_transactions_config: LocalTransactionConfig {
|
||||
no_exemptions: self.no_locals,
|
||||
local_addresses: self.locals.clone().into_iter().collect(),
|
||||
local_addresses: self.locals.iter().copied().collect(),
|
||||
propagate_local_transactions: !self.no_local_transactions_propagation,
|
||||
},
|
||||
pending_limit: SubPoolLimit {
|
||||
|
||||
Reference in New Issue
Block a user