listening and mining param names

This commit is contained in:
Marek Kotewicz 2014-10-14 22:01:07 +02:00
parent f9635e72aa
commit 76ea9f804d

View File

@ -274,10 +274,10 @@ p["s"] = s;
} }
bool setListening(const bool& l) throw (jsonrpc::JsonRpcException) bool setListening(const bool& listening) throw (jsonrpc::JsonRpcException)
{ {
Json::Value p; Json::Value p;
p["l"] = l; p["listening"] = listening;
Json::Value result = this->client->CallMethod("setListening",p); Json::Value result = this->client->CallMethod("setListening",p);
if (result.isBool()) if (result.isBool())
@ -287,10 +287,10 @@ p["s"] = s;
} }
bool setMining(const bool& l) throw (jsonrpc::JsonRpcException) bool setMining(const bool& mining) throw (jsonrpc::JsonRpcException)
{ {
Json::Value p; Json::Value p;
p["l"] = l; p["mining"] = mining;
Json::Value result = this->client->CallMethod("setMining",p); Json::Value result = this->client->CallMethod("setMining",p);
if (result.isBool()) if (result.isBool())