diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-10-15 04:01:07 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-10-15 04:01:07 +0800 |
commit | 76ea9f804d8690cc4f6bb63cda58ba875bcce895 (patch) | |
tree | 1eccd909273f555267413943a5100cb1ad7dcd3f | |
parent | f9635e72aa6e16aa8dabf61c619901b65321e2a5 (diff) | |
download | dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.tar dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.tar.gz dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.tar.bz2 dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.tar.lz dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.tar.xz dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.tar.zst dexon-solidity-76ea9f804d8690cc4f6bb63cda58ba875bcce895.zip |
listening and mining param names
-rw-r--r-- | ethstubclient.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ethstubclient.h b/ethstubclient.h index 0ccdce05..71452c03 100644 --- a/ethstubclient.h +++ b/ethstubclient.h @@ -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; - p["l"] = l; + p["listening"] = listening; Json::Value result = this->client->CallMethod("setListening",p); 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; - p["l"] = l; + p["mining"] = mining; Json::Value result = this->client->CallMethod("setMining",p); if (result.isBool()) |