From fadbc5d89562df7e34379f9d01a757e30db7bbe2 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Mon, 20 May 2019 12:06:44 -0400 Subject: mempool: remove unused magic number from consistency check --- src/txmempool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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::max()); } void CTxMemPool::check(const CCoinsViewCache *pcoins) const -- cgit v1.2.3