aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-09-07 19:15:45 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-09-08 01:55:59 +0200
commit5acd82de9ad6df8cab922da66d49b8ff2bd35439 (patch)
treec9846e82a1145701c22ec97f39e136cbe3def721
parent24697c40ee6739b812259140042d426c81179977 (diff)
rpc: make estimatesmartfee argument naming consistent with documentation
Part of this was a reversion in ec6902d0ea2bbe75179684fc71849d5e34647a14.
-rw-r--r--src/rpc/client.cpp2
-rw-r--r--src/rpc/mining.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 7c1c4c55a7..406ad2f6ec 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "keypoolrefill", 0, "newsize" },
{ "getrawmempool", 0, "verbose" },
{ "estimatefee", 0, "nblocks" },
- { "estimatesmartfee", 0, "nblocks" },
+ { "estimatesmartfee", 0, "conf_target" },
{ "estimaterawfee", 0, "conf_target" },
{ "estimaterawfee", 1, "threshold" },
{ "prioritisetransaction", 1, "dummy" },
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 9809883700..e2a25fd528 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -980,7 +980,7 @@ static const CRPCCommand commands[] =
{ "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} },
{ "util", "estimatefee", &estimatefee, {"nblocks"} },
- { "util", "estimatesmartfee", &estimatesmartfee, {"nblocks", "estimate_mode"} },
+ { "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} },
{ "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} },
};