From 3f6c914c5971f4e7d1bdcfd7b50d731cd55c3adc Mon Sep 17 00:00:00 2001 From: caktux Date: Mon, 19 Jan 2015 23:08:24 -0500 Subject: [PATCH] fix warning and #823 --- neth/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neth/main.cpp b/neth/main.cpp index 06be53393..96fc52de5 100644 --- a/neth/main.cpp +++ b/neth/main.cpp @@ -433,6 +433,8 @@ int main(int argc, char** argv) web3.connect(Host::pocHost()); if (remoteHost.size()) web3.connect(remoteHost, remotePort); + if (mining) + c->startMining(); #if ETH_JSONRPC shared_ptr jsonrpcServer;