Skip to content

Commit 5acd82d

Browse files
committed
rpc: make estimatesmartfee argument naming consistent with documentation
Part of this was a reversion in ec6902d.
1 parent 24697c4 commit 5acd82d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rpc/client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
115115
{ "keypoolrefill", 0, "newsize" },
116116
{ "getrawmempool", 0, "verbose" },
117117
{ "estimatefee", 0, "nblocks" },
118-
{ "estimatesmartfee", 0, "nblocks" },
118+
{ "estimatesmartfee", 0, "conf_target" },
119119
{ "estimaterawfee", 0, "conf_target" },
120120
{ "estimaterawfee", 1, "threshold" },
121121
{ "prioritisetransaction", 1, "dummy" },

src/rpc/mining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ static const CRPCCommand commands[] =
980980
{ "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} },
981981

982982
{ "util", "estimatefee", &estimatefee, {"nblocks"} },
983-
{ "util", "estimatesmartfee", &estimatesmartfee, {"nblocks", "estimate_mode"} },
983+
{ "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} },
984984

985985
{ "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} },
986986
};

0 commit comments

Comments
 (0)