@@ -82,10 +82,10 @@ static UniValue FinishTransaction(const std::shared_ptr<CWallet> pwallet, const
82
82
PartiallySignedTransaction psbtx (rawTx);
83
83
84
84
// First fill transaction with our data without signing,
85
- // so external signers are not asked sign more than once.
85
+ // so external signers are not asked to sign more than once.
86
86
bool complete;
87
- pwallet->FillPSBT (psbtx, complete, SIGHASH_DEFAULT, false , true );
88
- const TransactionError err{pwallet->FillPSBT (psbtx, complete, SIGHASH_DEFAULT, true , false )};
87
+ pwallet->FillPSBT (psbtx, complete, SIGHASH_DEFAULT, /* sign= */ false , /* bip32derivs= */ true );
88
+ const TransactionError err{pwallet->FillPSBT (psbtx, complete, SIGHASH_DEFAULT, /* sign= */ true , /* bip32derivs= */ false )};
89
89
if (err != TransactionError::OK) {
90
90
throw JSONRPCTransactionError (err);
91
91
}
@@ -1100,7 +1100,7 @@ static RPCHelpMan bumpfee_helper(std::string method_name)
1100
1100
} else {
1101
1101
PartiallySignedTransaction psbtx (mtx);
1102
1102
bool complete = false ;
1103
- const TransactionError err = pwallet->FillPSBT (psbtx, complete, SIGHASH_DEFAULT, false /* sign */ , true /* bip32derivs */ );
1103
+ const TransactionError err = pwallet->FillPSBT (psbtx, complete, SIGHASH_DEFAULT, /* sign= */ false , /* bip32derivs= */ true );
1104
1104
CHECK_NONFATAL (err == TransactionError::OK);
1105
1105
CHECK_NONFATAL (!complete);
1106
1106
CDataStream ssTx (SER_NETWORK, PROTOCOL_VERSION);
@@ -1675,7 +1675,7 @@ RPCHelpMan walletcreatefundedpsbt()
1675
1675
// Fill transaction with out data but don't sign
1676
1676
bool bip32derivs = request.params [4 ].isNull () ? true : request.params [4 ].get_bool ();
1677
1677
bool complete = true ;
1678
- const TransactionError err{wallet.FillPSBT (psbtx, complete, 1 , false , bip32derivs)};
1678
+ const TransactionError err{wallet.FillPSBT (psbtx, complete, 1 , /* sign= */ false , /* bip32derivs= */ bip32derivs)};
1679
1679
if (err != TransactionError::OK) {
1680
1680
throw JSONRPCTransactionError (err);
1681
1681
}
0 commit comments