Browse Source

Revert "only log mining message when hash changes"

This reverts commit bed0539d70.
cl-refactor
subtly 11 years ago
parent
commit
5133522d42
  1. 7
      libethereum/State.cpp

7
libethereum/State.cpp

@ -414,12 +414,7 @@ u256 State::playback(bytesConstRef _block, BlockInfo const& _grandParent, bool _
// (i.e. all the transactions we executed).
void State::commitToMine(BlockChain const& _bc)
{
static h256 previously_mined_hash;
if (!previously_mined_hash || previously_mined_hash != m_previousBlock.hash)
{
previously_mined_hash = m_previousBlock.hash;
cnote << "Commiting to mine on" << m_previousBlock.hash;
}
cnote << "Commiting to mine on" << m_previousBlock.hash;
if (m_currentBlock.sha3Transactions != h256() || m_currentBlock.sha3Uncles != h256())
return;

Loading…
Cancel
Save