aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2016-12-09 17:06:42 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-01-10 12:04:54 +0100
commit4e7e2e16e4530be31bfc696a08bd3d1265e6f235 (patch)
tree8b0581fd980a79ab4c3351c263f3b19a51b09db8 /src/rpc/client.cpp
parent481f289765fab47ff2e0bd7dfb968f2bd92fd608 (diff)
Update RPC argument names
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 17d1de6761..422d005f0c 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -51,7 +51,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "listreceivedbyaccount", 2, "include_watchonly" },
{ "getbalance", 1, "minconf" },
{ "getbalance", 2, "include_watchonly" },
- { "getblockhash", 0, "index" },
+ { "getblockhash", 0, "height" },
{ "waitforblockheight", 0, "height" },
{ "waitforblockheight", 1, "timeout" },
{ "waitforblock", 1, "timeout" },
@@ -61,7 +61,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "sendfrom", 2, "amount" },
{ "sendfrom", 3, "minconf" },
{ "listtransactions", 1, "count" },
- { "listtransactions", 2, "from" },
+ { "listtransactions", 2, "skip" },
{ "listtransactions", 3, "include_watchonly" },
{ "listaccounts", 0, "minconf" },
{ "listaccounts", 1, "include_watchonly" },