From 0a069e51b3cb0430ec7bad57ffe7ad1e95c51428 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 14 Oct 2014 17:24:51 +0200 Subject: isMining changes to mining --- jsonrpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jsonrpc.cpp') 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()); } -- cgit