aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2022-03-16 15:13:57 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-03-17 10:57:08 -0400
commit46022953ee2e8113167bafd1fd48a383a578b13c (patch)
treeb4af9d6e508073b4d051d9b158d4ab798f713d95 /src/wallet/spend.h
parent10379f007fd2c18f4cd24d0a0783d6d929f45556 (diff)
downloadbitcoin-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.h')
-rw-r--r--src/wallet/spend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/spend.h b/src/wallet/spend.h
index 62b28c33c8..eb0a2ec05d 100644
--- a/src/wallet/spend.h
+++ b/src/wallet/spend.h
@@ -48,7 +48,7 @@ public:
*/
bool safe;
- COutput(const CWallet& wallet, const CWalletTx& wtx, int iIn, int depth, bool spendable, bool solvable, bool safe, bool use_max_sig_in = false)
+ COutput(const CWallet& wallet, const CWalletTx& wtx, int iIn, int depth, bool spendable, bool solvable, bool safe, bool use_max_sig_in)
: tx(&wtx),
i(iIn),
depth(depth),