mirror of
https://github.com/wownero/wownero.git
synced 2026-12-02 06:03:55 +01:00
miner: show id and height when a block is found
This commit is contained in:
@@ -485,7 +485,7 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
//we lucky!
|
//we lucky!
|
||||||
++m_config.current_extra_message_index;
|
++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))
|
if(!m_phandler->handle_block_found(b))
|
||||||
{
|
{
|
||||||
--m_config.current_extra_message_index;
|
--m_config.current_extra_message_index;
|
||||||
|
|||||||
Reference in New Issue
Block a user