aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-04-21 16:41:01 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-05-23 20:46:14 +0000
commit870824e919474c5b39da73fe73199f8453fd540f (patch)
tree369f7fb7e0bc5087e025bb1c5321bba468409c00 /src/rpc/client.cpp
parent6b99dafe4204e8e86091e6dab6271e9d8aedfba7 (diff)
downloadbitcoin-870824e919474c5b39da73fe73199f8453fd540f.tar.xz
RPC/Mining: Restore API compatibility for prioritisetransaction
Breaking API serves no purpose other than to be incompatible with older versions and other implementations that do support priority
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index a3a692c14d..ed83d1da1e 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -112,7 +112,8 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "estimaterawfee", 0, "nblocks" },
{ "estimaterawfee", 1, "threshold" },
{ "estimaterawfee", 2, "horizon" },
- { "prioritisetransaction", 1, "fee_delta" },
+ { "prioritisetransaction", 1, "priority_delta" },
+ { "prioritisetransaction", 2, "fee_delta" },
{ "setban", 2, "bantime" },
{ "setban", 3, "absolute" },
{ "setnetworkactive", 0, "state" },