diff options
Diffstat (limited to 'jsonrpc.cpp')
-rw-r--r-- | jsonrpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonrpc.cpp b/jsonrpc.cpp index 1e262d5c..930b5686 100644 --- a/jsonrpc.cpp +++ b/jsonrpc.cpp @@ -129,11 +129,11 @@ BOOST_AUTO_TEST_CASE(jsonrpc_isMining) cnote << "Testing jsonrpc isMining..."; web3.ethereum()->startMining(); - bool miningOn = jsonrpcClient->isMining(); + bool miningOn = jsonrpcClient->mining(); BOOST_CHECK_EQUAL(miningOn, web3.ethereum()->isMining()); web3.ethereum()->stopMining(); - bool miningOff = jsonrpcClient->isMining(); + bool miningOff = jsonrpcClient->mining(); BOOST_CHECK_EQUAL(miningOff, web3.ethereum()->isMining()); } |