Browse Source

Merge pull request #2670 from CJentzsch/requireNewCoinbase

require MiningBenefactor to be set in order to mine
cl-refactor
Gav Wood 10 years ago
parent
commit
2da4daec04
  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