Browse Source

cleaner output

cl-refactor
CJentzsch 10 years ago
parent
commit
f55975b5dc
  1. 3
      libethereum/Client.cpp

3
libethereum/Client.cpp

@ -606,9 +606,10 @@ bool Client::remoteActive() const
void Client::onPostStateChanged() void Client::onPostStateChanged()
{ {
cnote << "Post state changed: Restarting mining..."; cnote << "Post state changed";
if (isMining() || remoteActive()) if (isMining() || remoteActive())
{ {
cnote << "Restarting mining...";
DEV_WRITE_GUARDED(x_working) DEV_WRITE_GUARDED(x_working)
m_working.commitToMine(m_bc); m_working.commitToMine(m_bc);
DEV_READ_GUARDED(x_working) DEV_READ_GUARDED(x_working)

Loading…
Cancel
Save