diff options
author | Andrew Chow <achow101-github@achow101.com> | 2021-01-08 18:12:57 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-01-08 18:58:58 -0500 |
commit | ea0a7ec949f0f7e212f0d8819f7a54cad2258bdd (patch) | |
tree | 0e9cb55086e81c0a9d8107f51cf64c367e623ac2 /src/wallet | |
parent | 9158d6f34153dc937e109d0e7486e956a26f20aa (diff) |
Remove deprecated bumpfee behavior
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index ae4e8f2898..25fc798847 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3449,10 +3449,7 @@ static RPCHelpMan bumpfee_helper(std::string method_name) CWallet* const pwallet = wallet.get(); if (pwallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS) && !want_psbt) { - if (!pwallet->chain().rpcEnableDeprecated("bumpfee")) { - throw JSONRPCError(RPC_METHOD_DEPRECATED, "Using bumpfee with wallets that have private keys disabled is deprecated. Use psbtbumpfee instead or restart bitcoind with -deprecatedrpc=bumpfee. This functionality will be removed in 0.22"); - } - want_psbt = true; + throw JSONRPCError(RPC_WALLET_ERROR, "bumpfee is not available with wallets that have private keys disabled. Use psbtbumpfee instead."); } RPCTypeCheck(request.params, {UniValue::VSTR, UniValue::VOBJ}); |