aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/client.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-03-09 22:30:15 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2016-03-09 22:30:15 +0100
commit8a253b342c5272496926ed391b078742bbe937ae (patch)
tree786776291e91534c1abe5a834ef15871a66010ae /src/rpc/client.cpp
parentc8d2473e6cb042e7275a10c49d3f6a4a91bf0166 (diff)
Make the generate RPC call function for non-regtest
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r--src/rpc/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp
index b0e9b6f153..6fe16c0cd0 100644
--- a/src/rpc/client.cpp
+++ b/src/rpc/client.cpp
@@ -30,6 +30,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "setgenerate", 0 },
{ "setgenerate", 1 },
{ "generate", 0 },
+ { "generate", 1 },
{ "getnetworkhashps", 0 },
{ "getnetworkhashps", 1 },
{ "sendtoaddress", 1 },