Browse Source

require MiningBenefactor to be set in order to mine

cl-refactor
CJentzsch 9 years ago
parent
commit
8a7a415727
  1. 10
      libethereum/Client.cpp

10
libethereum/Client.cpp

@ -694,8 +694,14 @@ void Client::onPostStateChanged()
void Client::startMining()
{
m_wouldMine = true;
rejigMining();
clog(ClientNote) << "MiningBenefactor: " << address();
if (address() != Address())
{
m_wouldMine = true;
rejigMining();
}
else
clog(ClientNote) << "You need to set a MiningBenefactor in order to mine!";
}
void Client::rejigMining()

Loading…
Cancel
Save