diff options
author | Andrew Chow <achow101-github@achow101.com> | 2022-03-16 15:13:57 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2022-03-17 10:57:08 -0400 |
commit | 46022953ee2e8113167bafd1fd48a383a578b13c (patch) | |
tree | b4af9d6e508073b4d051d9b158d4ab798f713d95 /src/wallet/spend.cpp | |
parent | 10379f007fd2c18f4cd24d0a0783d6d929f45556 (diff) | |
download | bitcoin-46022953ee2e8113167bafd1fd48a383a578b13c.tar.xz |
wallet: Remove use_max_sig default value
As we change the constructor for COutput, it becomes somewhat dangerous
if there are default values.
Diffstat (limited to 'src/wallet/spend.cpp')
-rw-r--r-- | src/wallet/spend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/spend.cpp b/src/wallet/spend.cpp index e54661456b..6f5d0fed86 100644 --- a/src/wallet/spend.cpp +++ b/src/wallet/spend.cpp @@ -275,7 +275,7 @@ std::map<CTxDestination, std::vector<COutput>> ListCoins(const CWallet& wallet) CTxDestination address; if (ExtractDestination(FindNonChangeParentOutput(wallet, *it->second.tx, output.n).scriptPubKey, address)) { result[address].emplace_back( - wallet, it->second, output.n, depth, true /* spendable */, true /* solvable */, false /* safe */); + wallet, it->second, output.n, depth, /*spendable=*/ true, /*solvable=*/ true, /*safe=*/ false, /*use_max_sig_in=*/ false); } } } |