mirror of
https://github.com/cculianu/Fulcrum.git
synced 2026-08-13 12:33:27 +02:00
Minor tiny nit in Mempool.cpp, benchmarks
This commit is contained in:
parent
4e8f7edaf9
commit
4b38a7590e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue