Merge #7976: Remove obsolete reference to CValidationState from UpdateCoins.

c8b9248 Remove obsolete reference to CValidationState from UpdateCoins. (21E14)
This commit is contained in:
Wladimir J. van der Laan
2016-05-09 11:57:16 +02:00
4 changed files with 8 additions and 9 deletions

View File

@@ -297,8 +297,7 @@ BOOST_AUTO_TEST_CASE(updatecoins_simulation_test)
CCoins &coins = result[tx.GetHash()];
coins.FromTx(tx, height);
CValidationState dummy;
UpdateCoins(tx, dummy, *(stack.back()), height);
UpdateCoins(tx, *(stack.back()), height);
}
// Once every 1000 iterations and at the end, verify the full cache.