SideChain: log blocks with the same id

This commit is contained in:
SChernykh
2022-11-02 12:49:12 +01:00
parent cc92ae7998
commit 255d312ae0
4 changed files with 31 additions and 11 deletions
+1 -1
View File
@@ -2063,7 +2063,7 @@ bool P2PServer::P2PClient::handle_incoming_block_async(const PoolBlock* block)
P2PServer* server = static_cast<P2PServer*>(m_owner);
if (server->m_pool->side_chain().block_seen(*block)) {
LOGINFO(6, "block " << block->m_sidechainId << " was received before, skipping it");
LOGINFO(6, "block " << block->m_sidechainId << " (nonce " << block->m_nonce << ", extra_nonce " << block->m_extraNonce << ") was received before, skipping it");
return true;
}