diff options
| author | 21E14 <[email protected]> | 2016-04-29 23:45:20 -0400 |
|---|---|---|
| committer | 21E14 <[email protected]> | 2016-04-30 15:14:22 -0400 |
| commit | c8b92486c4eca1287546b0683b6af3551db1fe67 (patch) | |
| tree | 554c59f0f0b19f190eaa3b44a415542b44355c24 /src/txmempool.cpp | |
| parent | Merge #7807: Fixed miner test values, gave constants for less error-prone val... (diff) | |
| download | discoin-c8b92486c4eca1287546b0683b6af3551db1fe67.tar.xz discoin-c8b92486c4eca1287546b0683b6af3551db1fe67.zip | |
Remove obsolete reference to CValidationState from UpdateCoins.
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 52c779311..f9c33087f 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -720,7 +720,7 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const else { CValidationState state; assert(CheckInputs(tx, state, mempoolDuplicate, false, 0, false, NULL)); - UpdateCoins(tx, state, mempoolDuplicate, 1000000); + UpdateCoins(tx, mempoolDuplicate, 1000000); } } unsigned int stepsSinceLastRemove = 0; @@ -734,7 +734,7 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const assert(stepsSinceLastRemove < waitingOnDependants.size()); } else { assert(CheckInputs(entry->GetTx(), state, mempoolDuplicate, false, 0, false, NULL)); - UpdateCoins(entry->GetTx(), state, mempoolDuplicate, 1000000); + UpdateCoins(entry->GetTx(), mempoolDuplicate, 1000000); stepsSinceLastRemove = 0; } } |