diff options
| author | John Newbery <[email protected]> | 2016-12-09 17:06:42 +0000 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-01-10 12:04:54 +0100 |
| commit | 4e7e2e16e4530be31bfc696a08bd3d1265e6f235 (patch) | |
| tree | 8b0581fd980a79ab4c3351c263f3b19a51b09db8 /src/rpc/client.cpp | |
| parent | rpc: Named argument support for bitcoin-cli (diff) | |
| download | discoin-4e7e2e16e4530be31bfc696a08bd3d1265e6f235.tar.xz discoin-4e7e2e16e4530be31bfc696a08bd3d1265e6f235.zip | |
Update RPC argument names
Diffstat (limited to 'src/rpc/client.cpp')
| -rw-r--r-- | src/rpc/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 17d1de676..422d005f0 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" }, |