diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-09-07 19:15:45 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-09-08 01:55:59 +0200 |
| commit | 5acd82de9ad6df8cab922da66d49b8ff2bd35439 (patch) | |
| tree | c9846e82a1145701c22ec97f39e136cbe3def721 /src | |
| parent | rpc: update cli for estimatefee argument rename (diff) | |
| download | discoin-5acd82de9ad6df8cab922da66d49b8ff2bd35439.tar.xz discoin-5acd82de9ad6df8cab922da66d49b8ff2bd35439.zip | |
rpc: make estimatesmartfee argument naming consistent with documentation
Part of this was a reversion in ec6902d0ea2bbe75179684fc71849d5e34647a14.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rpc/client.cpp | 2 | ||||
| -rw-r--r-- | src/rpc/mining.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 7c1c4c55a..406ad2f6e 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 980988370..e2a25fd52 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"} }, }; |