mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Add explicit fee field to transaction
This commit is contained in:
parent
fc86bc95c2
commit
b8264355f1
32 changed files with 705 additions and 666 deletions
|
|
@ -46,6 +46,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
|
|||
spends[i].vout.resize(1);
|
||||
spends[i].vout[0].nValue = 11*CENT;
|
||||
spends[i].vout[0].scriptPubKey = scriptPubKey;
|
||||
spends[i].nTxFee = coinbaseTxns[0].vout[0].nValue - 11*CENT;
|
||||
|
||||
// Sign:
|
||||
std::vector<unsigned char> vchSig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue