mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-25 15:18:13 -05:00
chore: use default init (#15975)
This commit is contained in:
@@ -58,7 +58,7 @@ where
|
||||
|
||||
let AllPoolTransactions { pending, queued } = self.pool.all_transactions();
|
||||
|
||||
let mut content = TxpoolContent { pending: BTreeMap::new(), queued: BTreeMap::new() };
|
||||
let mut content = TxpoolContent::default();
|
||||
for pending in pending {
|
||||
insert::<_, Eth>(&pending.transaction, &mut content.pending, &self.tx_resp_builder)?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user