fix: handle forced propagations (#16845)

This commit is contained in:
Matthias Seitz
2025-06-17 17:32:01 +02:00
committed by GitHub
parent d6eb789109
commit 8857c5da03

View File

@@ -1166,7 +1166,8 @@ where
}
TransactionsCommand::PropagateTransactions(txs) => self.propagate_all(txs),
TransactionsCommand::BroadcastTransactions(txs) => {
self.propagate_transactions(txs, PropagationMode::Forced);
let propagated = self.propagate_transactions(txs, PropagationMode::Forced);
self.pool.on_propagated(propagated);
}
TransactionsCommand::GetTransactionHashes { peers, tx } => {
let mut res = HashMap::with_capacity(peers.len());