Skip to content

Commit

Permalink
Removed nil support for EqualTo
Browse files Browse the repository at this point in the history
  • Loading branch information
durkmurder committed Dec 8, 2023
1 parent 9096c03 commit da9c65a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions model/flow/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,6 @@ func (iy *Identity) UnmarshalMsgpack(b []byte) error {
}

func (iy *IdentitySkeleton) EqualTo(other *IdentitySkeleton) bool {
if other == nil {
return false
}
if iy.NodeID != other.NodeID {
return false
}
Expand Down Expand Up @@ -429,9 +426,6 @@ func (iy *IdentitySkeleton) EqualTo(other *IdentitySkeleton) bool {
}

func (iy *DynamicIdentity) EqualTo(other *DynamicIdentity) bool {
if other == nil {
return false
}
return iy.EpochParticipationStatus == other.EpochParticipationStatus
}

Expand Down

0 comments on commit da9c65a

Please sign in to comment.