mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Switch from per-tx to per-txout CCoinsViewCache methods in some places
This commit is contained in:
parent
0003911326
commit
f68cdfe92b
8 changed files with 83 additions and 93 deletions
|
|
@ -316,7 +316,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard)
|
|||
txFrom.vout[6].scriptPubKey = GetScriptForDestination(CScriptID(twentySigops));
|
||||
txFrom.vout[6].nValue = 6000;
|
||||
|
||||
coins.ModifyCoins(txFrom.GetHash())->FromTx(txFrom, 0);
|
||||
AddCoins(coins, txFrom, 0);
|
||||
|
||||
CMutableTransaction txTo;
|
||||
txTo.vout.resize(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue