aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2015-11-13 10:48:57 -0500
committerAlex Morcos <morcos@chaincode.com>2015-11-13 10:50:49 -0500
commita78e6eaf5ca52629c1b958908fad98986e9343a7 (patch)
tree83437d0b5dd3e1a2160dfc06d268a4b164d889ab /src
parentd2e987aa19295e5da40b843aad7970f781a96ccd (diff)
downloadbitcoin-a78e6eaf5ca52629c1b958908fad98986e9343a7.tar.xz
Fix bug in mempool_tests unit test
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)));