mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
listening and mining param names
This commit is contained in:
parent
f9635e72aa
commit
76ea9f804d
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user