mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Make CMutableTransaction constructor explicit
Silently converting to a CMutableTransaction will drop all caches and should thus be done explicitly
This commit is contained in:
parent
f82e1c9482
commit
faab55fbb1
7 changed files with 12 additions and 12 deletions
|
|
@ -548,7 +548,7 @@ static void MutateTxSign(CMutableTransaction& tx, const std::string& flagStr)
|
|||
// mergedTx will end up with all the signatures; it
|
||||
// starts as a clone of the raw tx:
|
||||
CMutableTransaction mergedTx{tx};
|
||||
const CTransaction txv{tx};
|
||||
const CMutableTransaction txv{tx};
|
||||
CCoinsView viewDummy;
|
||||
CCoinsViewCache view(&viewDummy);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue