mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
Replace GenTxid with Txid/Wtxid overloads in txmempool
Co-authored-by: stickies-v <stickies-v@protonmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ MiniMiner::MiniMiner(const CTxMemPool& mempool, const std::vector<COutPoint>& ou
|
||||
// Anything that's spent by the mempool is to-be-replaced
|
||||
// Anything otherwise unavailable just has a bump fee of 0
|
||||
for (const auto& outpoint : outpoints) {
|
||||
if (!mempool.exists(GenTxid::Txid(outpoint.hash))) {
|
||||
if (!mempool.exists(outpoint.hash)) {
|
||||
// This UTXO is either confirmed or not yet submitted to mempool.
|
||||
// If it's confirmed, no bump fee is required.
|
||||
// If it's not yet submitted, we have no information, so return 0.
|
||||
|
||||
Reference in New Issue
Block a user