Skip to content

Commit

Permalink
[snow/networking] Enforce PreferredIDAtHeight in Chits messages (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrubabasu authored Mar 7, 2024
1 parent 50ca08e commit a593cc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions snow/networking/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,7 @@ func (h *handler) handleSyncMsg(ctx context.Context, msg Message) error {
zap.String("field", "PreferredIDAtHeight"),
zap.Error(err),
)
// TODO: Require this field to be populated correctly after v1.11.x
// is activated.
preferredIDAtHeight = preferredID
return engine.QueryFailed(ctx, nodeID, msg.RequestId)
}

acceptedID, err := ids.ToID(msg.AcceptedId)
Expand Down

0 comments on commit a593cc4

Please sign in to comment.