Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Oct 27, 2024
1 parent 5845d11 commit 0507ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vms/platformvm/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -2054,7 +2054,7 @@ func (s *state) getInheritedPublicKey(nodeID ids.NodeID) (*bls.PublicKey, error)
return vdr.validator.PublicKey, nil
}
if vdr, ok := s.currentStakers.validatorDiffs[constants.PrimaryNetworkID][nodeID]; ok && vdr.validator != nil {
// The primary network validator is being removed.
// The primary network validator is being modified.
return vdr.validator.PublicKey, nil
}
return nil, fmt.Errorf("%w: %s", errMissingPrimaryNetworkValidator, nodeID)
Expand Down

0 comments on commit 0507ce7

Please sign in to comment.