fix incorrect equality check in storage comparison logic
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ func (r *Storage) Equals(other *Storage) bool {
|
|||||||
for i := range r.format.Len {
|
for i := range r.format.Len {
|
||||||
av, _ := r.Get(i)
|
av, _ := r.Get(i)
|
||||||
bv, _ := other.Get(i)
|
bv, _ := other.Get(i)
|
||||||
if av == bv {
|
if av != bv {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user