diff options
| author | Gregory Sanders <[email protected]> | 2019-05-20 12:06:44 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2019-05-20 15:19:43 -0400 |
| commit | fadbc5d89562df7e34379f9d01a757e30db7bbe2 (patch) | |
| tree | 96de2129283e9ae318e58e78a98cc3855fce3251 /src/txmempool.cpp | |
| parent | Merge #15922: doc: Explain how to pass in non-fundamental types into functions (diff) | |
| download | discoin-fadbc5d89562df7e34379f9d01a757e30db7bbe2.tar.xz discoin-fadbc5d89562df7e34379f9d01a757e30db7bbe2.zip | |
mempool: remove unused magic number from consistency check
Diffstat (limited to 'src/txmempool.cpp')
| -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 90b28227a..80dbd9c19 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 |