Skip to content

Commit

Permalink
Merge branch 'master' into merge-mining
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Dec 23, 2023
2 parents f7a2a6f + bc36be1 commit c28021b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/p2p_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2453,6 +2453,7 @@ void P2PServer::P2PClient::on_block_notify(const uint8_t* buf)
memcpy(id.h, buf, HASH_SIZE);

m_broadcastedHashes[m_broadcastedHashesIndex++ % array_size(&P2PClient::m_broadcastedHashes)] = id;
m_lastBroadcastTimestamp = seconds_since_epoch();

P2PServer* server = static_cast<P2PServer*>(m_owner);

Expand Down

0 comments on commit c28021b

Please sign in to comment.