mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Preserve tx version=1 for certain tests
Without this change, the tests would be affected by default tx version increases.
This commit is contained in:
parent
c5d746ace7
commit
dab207e4e6
2 changed files with 6 additions and 1 deletions
|
|
@ -39,6 +39,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
|
|||
spends.resize(2);
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
spends[i].nVersion = 1;
|
||||
spends[i].vin.resize(1);
|
||||
spends[i].vin[0].prevout.hash = coinbaseTxns[0].GetHash();
|
||||
spends[i].vin[0].prevout.n = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue