Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
  • Loading branch information
joshua-kim committed Oct 27, 2023
1 parent a4e9c00 commit 5b13119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ func (p *peer) handleVersion(msg *p2p.Version) {
}

if p.VersionCompatibility.Version().Before(p.version) {
if _, ok := p.Beacons.Contains(p.id); ok {
if _, ok := p.Beacons.GetValidator(constants.PrimaryNetworkID, p.id); ok {
p.Log.Info("beacon attempting to connect with newer version. You may want to update your client",
zap.Stringer("nodeID", p.id),
zap.Stringer("beaconVersion", p.version),
Expand Down

0 comments on commit 5b13119

Please sign in to comment.