@@ -2655,7 +2655,8 @@ UniValue fundrawtransaction(const JSONRPCRequest& request)
2655
2655
" Those recipients will receive less bitcoins than you enter in their corresponding amount field.\n "
2656
2656
" If no outputs are specified here, the sender pays the fee.\n "
2657
2657
" [vout_index,...]\n "
2658
- " \" optIntoRbf\" (boolean, optional) Allow this transaction to be replaced by a transaction with higher fees\n "
2658
+ " \" replaceable\" (boolean, optional) Marks this transaction as BIP125 replaceable.\n "
2659
+ " Allows this transaction to be replaced by a transaction with higher fees\n "
2659
2660
" }\n "
2660
2661
" for backward compatibility: passing in a true instead of an object will result in {\" includeWatching\" :true}\n "
2661
2662
" \n Result:\n "
@@ -2707,7 +2708,7 @@ UniValue fundrawtransaction(const JSONRPCRequest& request)
2707
2708
{" reserveChangeKey" , UniValueType (UniValue::VBOOL)},
2708
2709
{" feeRate" , UniValueType ()}, // will be checked below
2709
2710
{" subtractFeeFromOutputs" , UniValueType (UniValue::VARR)},
2710
- {" optIntoRbf " , UniValueType (UniValue::VBOOL)},
2711
+ {" replaceable " , UniValueType (UniValue::VBOOL)},
2711
2712
},
2712
2713
true , true );
2713
2714
@@ -2741,8 +2742,8 @@ UniValue fundrawtransaction(const JSONRPCRequest& request)
2741
2742
if (options.exists (" subtractFeeFromOutputs" ))
2742
2743
subtractFeeFromOutputs = options[" subtractFeeFromOutputs" ].get_array ();
2743
2744
2744
- if (options.exists (" optIntoRbf " )) {
2745
- coinControl.signalRbf = options[" optIntoRbf " ].get_bool ();
2745
+ if (options.exists (" replaceable " )) {
2746
+ coinControl.signalRbf = options[" replaceable " ].get_bool ();
2746
2747
}
2747
2748
}
2748
2749
}
0 commit comments