aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2019-05-20 12:06:44 -0400
committerGregory Sanders <gsanders87@gmail.com>2019-05-20 15:19:43 -0400
commitfadbc5d89562df7e34379f9d01a757e30db7bbe2 (patch)
tree96de2129283e9ae318e58e78a98cc3855fce3251 /src
parent277abed604a81be8036458573d052eaa293b6cf8 (diff)
mempool: remove unused magic number from consistency check
Diffstat (limited to 'src')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 90b28227a0..80dbd9c19d 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -601,7 +601,7 @@ static void CheckInputsAndUpdateCoins(const CTransaction& tx, CCoinsViewCache& m
CAmount txfee = 0;
bool fCheckResult = tx.IsCoinBase() || Consensus::CheckTxInputs(tx, state, mempoolDuplicate, spendheight, txfee);
assert(fCheckResult);
- UpdateCoins(tx, mempoolDuplicate, 1000000);
+ UpdateCoins(tx, mempoolDuplicate, std::numeric_limits<int>::max());
}
void CTxMemPool::check(const CCoinsViewCache *pcoins) const