aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authormruddy <mruddy@users.noreply.github.com>2016-04-03 14:30:00 +0000
committermruddy <mruddy@users.noreply.github.com>2016-04-03 14:30:00 +0000
commit60361ca4816dd5b2d10408db3194fb77fcac8720 (patch)
tree16ac464a93b018154a24f2d98e8ea1a648c0b319 /src/rpc/client.cpp
parentff5874bcf7e391acf3b454c11c21636547400818 (diff)
RPC: fix generatetoaddress failing to parse address and add unit test
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index 89420b93d7..b040d2bc80 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -30,7 +30,6 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "generate", 0 },
{ "generate", 1 },
{ "generatetoaddress", 0 },
- { "generatetoaddress", 1 },
{ "generatetoaddress", 2 },
{ "getnetworkhashps", 0 },
{ "getnetworkhashps", 1 },