Skip to content

Commit a593cc4

Browse files
authored
[snow/networking] Enforce PreferredIDAtHeight in Chits messages (#2827)
1 parent 50ca08e commit a593cc4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

snow/networking/handler/handler.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,7 @@ func (h *handler) handleSyncMsg(ctx context.Context, msg Message) error {
716716
zap.String("field", "PreferredIDAtHeight"),
717717
zap.Error(err),
718718
)
719-
// TODO: Require this field to be populated correctly after v1.11.x
720-
// is activated.
721-
preferredIDAtHeight = preferredID
719+
return engine.QueryFailed(ctx, nodeID, msg.RequestId)
722720
}
723721

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

0 commit comments

Comments
 (0)