Skip to content

Commit

Permalink
Merge pull request #38 from Pier-Two/dev
Browse files Browse the repository at this point in the history
Update GossipSubManager.cs
  • Loading branch information
MPierTwo authored Oct 21, 2024
2 parents 3a4f8f3 + f4168ea commit 1395e6e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Lantern.Beacon/Networking/Gossip/GossipSubManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ private void HandleLightClientOptimisticUpdate(PeerId peerId, byte[] update)

private void CheckIfPeerExistsInGossip(PeerId peerId)
{
if (!syncProtocol.IsInitialised)
{
_logger.LogDebug("Sync protocol is not initialized. Ignore gossip message");
return;
}

var foundLivePeer = false;

foreach (var gossipPeer in peerState.GossipPeers.Keys)
Expand Down

0 comments on commit 1395e6e

Please sign in to comment.