diff --git a/src/Neo.IO/ByteArrayComparer.cs b/src/Neo.IO/ByteArrayComparer.cs index 47d171758a..c6815419c1 100644 --- a/src/Neo.IO/ByteArrayComparer.cs +++ b/src/Neo.IO/ByteArrayComparer.cs @@ -29,7 +29,6 @@ private ByteArrayComparer(int direction) public int Compare(byte[]? x, byte[]? y) { - if (ReferenceEquals(x, y)) return 0; if (x is null && y is not null) return _direction > 0 ? -y.Length : y.Length; if (y is null && x is not null)