mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
Add wtxid to mempool unbroadcast tracking
This commit is contained in:
committed by
Suhas Daftuar
parent
2b4b90aa8f
commit
c7eb6b4f1f
@@ -80,7 +80,7 @@ TransactionError BroadcastTransaction(NodeContext& node, const CTransactionRef t
|
||||
if (relay) {
|
||||
// the mempool tracks locally submitted transactions to make a
|
||||
// best-effort of initial broadcast
|
||||
node.mempool->AddUnbroadcastTx(hashTx);
|
||||
node.mempool->AddUnbroadcastTx(hashTx, tx->GetWitnessHash());
|
||||
|
||||
RelayTransaction(hashTx, *node.connman);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user