diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2019-05-20 12:06:44 -0400 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2019-05-20 15:19:43 -0400 |
commit | fadbc5d89562df7e34379f9d01a757e30db7bbe2 (patch) | |
tree | 96de2129283e9ae318e58e78a98cc3855fce3251 | |
parent | 277abed604a81be8036458573d052eaa293b6cf8 (diff) | |
download | bitcoin-fadbc5d89562df7e34379f9d01a757e30db7bbe2.tar.xz |
mempool: remove unused magic number from consistency check
-rw-r--r-- | src/txmempool.cpp | 2 |
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 |