Skip to content

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed May 13, 2024
1 parent 4620366 commit 40bb983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network/peer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -966,10 +966,10 @@ func (p *peer) handleHandshake(msg *p2p.Handshake) {

// handle subnet IDs
if numTrackedSubnets := len(msg.TrackedSubnets); numTrackedSubnets > maxNumTrackedSubnets {
p.Log.Debug("message with invalid field",
p.Log.Debug(malformedMessageLog,
zap.Stringer("nodeID", p.id),
zap.Stringer("messageOp", message.HandshakeOp),
zap.String("field", "TrackedSubnets"),
zap.String("field", "trackedSubnets"),
zap.Int("numTrackedSubnets", numTrackedSubnets),
)
p.StartClose()
Expand Down

0 comments on commit 40bb983

Please sign in to comment.