chore: use default init (#15975)

This commit is contained in:
Matthias Seitz
2025-04-28 18:34:50 +02:00
committed by GitHub
parent eda2b09132
commit 2f85dcc4e0

View File

@@ -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)?;
}