aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-11-13 18:37:34 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-11-13 18:37:46 +0100
commitd3565604e3d94c074ee3f79b61dee9610b870a4c (patch)
tree9fd01f83e17e0add5395870104b5555ff9b74708 /src
parent4f09b77c7fa50afc19d4458c9dd05219c82a298d (diff)
parenta78e6eaf5ca52629c1b958908fad98986e9343a7 (diff)
Merge pull request #7007
a78e6ea Fix bug in mempool_tests unit test (Alex Morcos)
Diffstat (limited to 'src')
-rw-r--r--src/test/mempool_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mempool_tests.cpp b/src/test/mempool_tests.cpp
index 0cf906a259..afb3b282f6 100644
--- a/src/test/mempool_tests.cpp
+++ b/src/test/mempool_tests.cpp
@@ -377,8 +377,8 @@ BOOST_AUTO_TEST_CASE(MempoolSizeLimitTest)
tx7.vout.resize(2);
tx7.vout[0].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
tx7.vout[0].nValue = 10 * COIN;
- tx7.vout[0].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
- tx7.vout[0].nValue = 10 * COIN;
+ tx7.vout[1].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
+ tx7.vout[1].nValue = 10 * COIN;
pool.addUnchecked(tx4.GetHash(), CTxMemPoolEntry(tx4, 7000LL, 0, 10.0, 1, pool.HasNoInputsOf(tx4)));
pool.addUnchecked(tx5.GetHash(), CTxMemPoolEntry(tx5, 1000LL, 0, 10.0, 1, pool.HasNoInputsOf(tx5)));