Merge pull request #4030

0c41488 miner: show id and height when a block is found (stoffu)
This commit is contained in:
luigi1111 2018-07-19 13:53:36 -05:00
commit 3235abc184
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -490,7 +490,7 @@ namespace cryptonote
{
//we lucky!
++m_config.current_extra_message_index;
MGINFO_GREEN("Found block for difficulty: " << local_diff);
MGINFO_GREEN("Found block " << get_block_hash(b) << " at height " << height << " for difficulty: " << local_diff);
if(!m_phandler->handle_block_found(b))
{
--m_config.current_extra_message_index;