aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-04-01 16:15:35 +0200
committerVasil Dimov <vd@FreeBSD.org>2020-04-10 21:27:01 +0200
commit2599d13c9417dc8c5107535521173687ec5e6c2f (patch)
tree154c8e062cd1fa5f51837dbd817534d87cf842f0 /src/rpc/client.cpp
parentff53433fe4ed06893d7c497a9687f326b0280d4e (diff)
downloadbitcoin-2599d13c9417dc8c5107535521173687ec5e6c2f.tar.xz
rpc: Remove deprecated migration code
Don't accept a second argument to `sendrawtransaction` and `testmempoolaccept` of type `bool`. Actually even the code before this change would not accept `bool`, but it would print a long explanatory message when rejecting it: "Second argument must be numeric (maxfeerate) and no longer supports a boolean. To allow a transaction with high fees, set maxfeerate to 0." This was scheduled for removal in 6c0a6f73e.
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index c1762483e9..8b83f18571 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -97,10 +97,8 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "signrawtransactionwithkey", 1, "privkeys" },
{ "signrawtransactionwithkey", 2, "prevtxs" },
{ "signrawtransactionwithwallet", 1, "prevtxs" },
- { "sendrawtransaction", 1, "allowhighfees" },
{ "sendrawtransaction", 1, "maxfeerate" },
{ "testmempoolaccept", 0, "rawtxs" },
- { "testmempoolaccept", 1, "allowhighfees" },
{ "testmempoolaccept", 1, "maxfeerate" },
{ "combinerawtransaction", 0, "txs" },
{ "fundrawtransaction", 1, "options" },