Browse Source

Merge pull request #827 from caktux/develop

neth mining fix #823
cl-refactor
Gav Wood 10 years ago
parent
commit
a1de62a342
  1. 3
      neth/main.cpp

3
neth/main.cpp

@ -305,7 +305,6 @@ int main(int argc, char** argv)
unsigned short remotePort = 30303;
string dbPath;
unsigned mining = ~(unsigned)0;
(void)mining;
NodeMode mode = NodeMode::Full;
unsigned peers = 5;
#if ETH_JSONRPC
@ -441,6 +440,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<WebThreeStubServer> jsonrpcServer;

Loading…
Cancel
Save