diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-03-14 11:35:55 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-03-14 11:36:20 +0100 |
commit | c87f51e55bc324d8327b596b44d8bf334a5b6913 (patch) | |
tree | 9745015a48a0eb769c8d68cbcca1e873b4d01de2 /src/rpc/client.cpp | |
parent | 11c769966ad73dd169abe39ec4ef5ae70119e1a5 (diff) | |
parent | 8a253b342c5272496926ed391b078742bbe937ae (diff) |
Merge #7663: Make the generate RPC call function for non-regtest
8a253b3 Make the generate RPC call function for non-regtest (Pieter Wuille)
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index b127a3f1a3..45fb6c1642 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -28,6 +28,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "setmocktime", 0 }, { "getaddednodeinfo", 0 }, { "generate", 0 }, + { "generate", 1 }, { "getnetworkhashps", 0 }, { "getnetworkhashps", 1 }, { "sendtoaddress", 1 }, |