aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-05-09 11:57:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-05-09 11:59:03 +0200
commite29cfc48fc08ce7317a43d51b861de0fc0c24006 (patch)
treecbeedfbd22170bc1f405f1ea729c0bae20b6c1e1 /src/test
parentf17032f703288d43a76cffe8fa89b87ade9e3074 (diff)
parentc8b92486c4eca1287546b0683b6af3551db1fe67 (diff)
downloadbitcoin-e29cfc48fc08ce7317a43d51b861de0fc0c24006.tar.xz
Merge #7976: Remove obsolete reference to CValidationState from UpdateCoins.
c8b9248 Remove obsolete reference to CValidationState from UpdateCoins. (21E14)
Diffstat (limited to 'src/test')
-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.