mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Fix bug in mempool_tests unit test
This commit is contained in:
parent
d2e987aa19
commit
a78e6eaf5c
@ -377,8 +377,8 @@ BOOST_AUTO_TEST_CASE(MempoolSizeLimitTest)
|
|||||||
tx7.vout.resize(2);
|
tx7.vout.resize(2);
|
||||||
tx7.vout[0].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
|
tx7.vout[0].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
|
||||||
tx7.vout[0].nValue = 10 * COIN;
|
tx7.vout[0].nValue = 10 * COIN;
|
||||||
tx7.vout[0].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
|
tx7.vout[1].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
|
||||||
tx7.vout[0].nValue = 10 * COIN;
|
tx7.vout[1].nValue = 10 * COIN;
|
||||||
|
|
||||||
pool.addUnchecked(tx4.GetHash(), CTxMemPoolEntry(tx4, 7000LL, 0, 10.0, 1, pool.HasNoInputsOf(tx4)));
|
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)));
|
pool.addUnchecked(tx5.GetHash(), CTxMemPoolEntry(tx5, 1000LL, 0, 10.0, 1, pool.HasNoInputsOf(tx5)));
|
||||||
|
Loading…
Reference in New Issue
Block a user