aboutsummaryrefslogtreecommitdiff
path: root/src/test/coins_tests.cpp
diff options
context:
space:
mode:
author21E14 <21xe14@gmail.com>2016-04-29 23:45:20 -0400
committer21E14 <21xe14@gmail.com>2016-04-30 15:14:22 -0400
commitc8b92486c4eca1287546b0683b6af3551db1fe67 (patch)
tree554c59f0f0b19f190eaa3b44a415542b44355c24 /src/test/coins_tests.cpp
parent0ad104190465d8d65c2344bbe10dcf3df025d86c (diff)
Remove obsolete reference to CValidationState from UpdateCoins.
Diffstat (limited to 'src/test/coins_tests.cpp')
-rw-r--r--src/test/coins_tests.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/coins_tests.cpp b/src/test/coins_tests.cpp
index 129ce04e0b..e692326559 100644
--- a/src/test/coins_tests.cpp
+++ b/src/test/coins_tests.cpp
@@ -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.