diff options
author | 21E14 <21xe14@gmail.com> | 2016-04-29 23:45:20 -0400 |
---|---|---|
committer | 21E14 <21xe14@gmail.com> | 2016-04-30 15:14:22 -0400 |
commit | c8b92486c4eca1287546b0683b6af3551db1fe67 (patch) | |
tree | 554c59f0f0b19f190eaa3b44a415542b44355c24 /src/txmempool.cpp | |
parent | 0ad104190465d8d65c2344bbe10dcf3df025d86c (diff) |
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 52c7793118..f9c33087fd 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; } } |