mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
fix txvalidationcache_tests
This commit is contained in:
parent
2543d06ed9
commit
fdd9c9310b
1 changed files with 5 additions and 1 deletions
|
|
@ -43,9 +43,13 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
|
|||
spends[i].vin.resize(1);
|
||||
spends[i].vin[0].prevout.hash = coinbaseTxns[0].GetHash();
|
||||
spends[i].vin[0].prevout.n = 0;
|
||||
spends[i].vout.resize(1);
|
||||
spends[i].vout.resize(2);
|
||||
spends[i].vout[0].nValue = 11*CENT;
|
||||
spends[i].vout[0].scriptPubKey = scriptPubKey;
|
||||
spends[i].vout[0].nAsset = BITCOINID;
|
||||
spends[i].vout[1].nValue = MAX_MONEY/100-11*CENT;
|
||||
spends[i].vout[1].nAsset = BITCOINID;
|
||||
spends[i].vout[1].scriptPubKey = CScript();
|
||||
|
||||
// Sign:
|
||||
std::vector<unsigned char> vchSig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue