diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-11-13 18:37:34 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-11-13 18:37:46 +0100 |
| commit | d3565604e3d94c074ee3f79b61dee9610b870a4c (patch) | |
| tree | 9fd01f83e17e0add5395870104b5555ff9b74708 /src/test/mempool_tests.cpp | |
| parent | Merge pull request #6983 (diff) | |
| parent | Fix bug in mempool_tests unit test (diff) | |
| download | discoin-d3565604e3d94c074ee3f79b61dee9610b870a4c.tar.xz discoin-d3565604e3d94c074ee3f79b61dee9610b870a4c.zip | |
Merge pull request #7007
a78e6ea Fix bug in mempool_tests unit test (Alex Morcos)
Diffstat (limited to 'src/test/mempool_tests.cpp')
| -rw-r--r-- | src/test/mempool_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mempool_tests.cpp b/src/test/mempool_tests.cpp index 0cf906a25..afb3b282f 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))); |