@@ -3984,7 +3984,7 @@ UniValue walletprocesspsbt(const JSONRPCRequest& request)
3984
3984
" \" ALL|ANYONECANPAY\"\n "
3985
3985
" \" NONE|ANYONECANPAY\"\n "
3986
3986
" \" SINGLE|ANYONECANPAY\" " },
3987
- {" bip32derivs" , RPCArg::Type::BOOL, /* default */ " false " , " If true, includes the BIP 32 derivation paths for public keys if we know them" },
3987
+ {" bip32derivs" , RPCArg::Type::BOOL, /* default */ " true " , " Include BIP 32 derivation paths for public keys if we know them" },
3988
3988
},
3989
3989
RPCResult{
3990
3990
" {\n "
@@ -4012,7 +4012,7 @@ UniValue walletprocesspsbt(const JSONRPCRequest& request)
4012
4012
4013
4013
// Fill transaction with our data and also sign
4014
4014
bool sign = request.params [1 ].isNull () ? true : request.params [1 ].get_bool ();
4015
- bool bip32derivs = request.params [3 ].isNull () ? false : request.params [3 ].get_bool ();
4015
+ bool bip32derivs = request.params [3 ].isNull () ? true : request.params [3 ].get_bool ();
4016
4016
bool complete = true ;
4017
4017
const TransactionError err = FillPSBT (pwallet, psbtx, complete, nHashType, sign, bip32derivs);
4018
4018
if (err != TransactionError::OK) {
@@ -4095,7 +4095,7 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
4095
4095
" \" CONSERVATIVE\" " },
4096
4096
},
4097
4097
" options" },
4098
- {" bip32derivs" , RPCArg::Type::BOOL, /* default */ " false " , " If true, includes the BIP 32 derivation paths for public keys if we know them" },
4098
+ {" bip32derivs" , RPCArg::Type::BOOL, /* default */ " true " , " Include BIP 32 derivation paths for public keys if we know them" },
4099
4099
},
4100
4100
RPCResult{
4101
4101
" {\n "
@@ -4134,7 +4134,7 @@ UniValue walletcreatefundedpsbt(const JSONRPCRequest& request)
4134
4134
PartiallySignedTransaction psbtx (rawTx);
4135
4135
4136
4136
// Fill transaction with out data but don't sign
4137
- bool bip32derivs = request.params [4 ].isNull () ? false : request.params [4 ].get_bool ();
4137
+ bool bip32derivs = request.params [4 ].isNull () ? true : request.params [4 ].get_bool ();
4138
4138
bool complete = true ;
4139
4139
const TransactionError err = FillPSBT (pwallet, psbtx, complete, 1 , false , bip32derivs);
4140
4140
if (err != TransactionError::OK) {
0 commit comments