Minor tiny nit in Mempool.cpp, benchmarks

This commit is contained in:
Calin Culianu 2026-05-10 07:37:40 -05:00
parent 4e8f7edaf9
commit 4b38a7590e
No known key found for this signature in database
GPG key ID: 21810A542031C02C

View file

@ -1362,7 +1362,6 @@ namespace {
// Note the amount here is totally wrong (and leads to txs that print money out of thin air),
// but for this test this is ok, since we care more about properly debiting/crediting spends
// and keeping track of utxos when testing Mempool.
TXOInfo ret;
if (auto it = confirmedTXOInfos.find(txo); it != confirmedTXOInfos.end()) {
// use cached
auto & txoInfo = it->second;
@ -1373,6 +1372,7 @@ namespace {
}
return txoInfo;
}
TXOInfo ret;
ret.amount = 546 * bitcoin::Amount::satoshi();
ret.confirmedHeight = confirmedHeightCur;
// set of 50 unique hashx's, based upon the txo's hash value