diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2020-09-17 20:57:51 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2020-09-17 20:59:09 +0200 |
commit | 0fc1c685e1ca68ca8ed2b35f623bbe6a9fc36d66 (patch) | |
tree | dfefa94837e1574d504ba9f69032ead9969426be /src/wallet | |
parent | efc9b85e6f4aa431d308089874a18f0bbdcdd0fd (diff) | |
download | bitcoin-0fc1c685e1ca68ca8ed2b35f623bbe6a9fc36d66.tar.xz |
[rpc] send: fix parsing replaceable option
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 0191f8372b..1503826752 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3995,7 +3995,7 @@ static RPCHelpMan send() int change_position; bool rbf = pwallet->m_signal_rbf; if (options.exists("replaceable")) { - rbf = options["add_to_wallet"].get_bool(); + rbf = options["replaceable"].get_bool(); } CMutableTransaction rawTx = ConstructTransaction(options["inputs"], request.params[0], options["locktime"], rbf); CCoinControl coin_control; |