diff options
Diffstat (limited to 'swarm/storage/types.go')
-rw-r--r-- | swarm/storage/types.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/swarm/storage/types.go b/swarm/storage/types.go index 8bfb34815..454ee6eb9 100644 --- a/swarm/storage/types.go +++ b/swarm/storage/types.go @@ -59,9 +59,6 @@ func Proximity(one, other []byte) (ret int) { m := 8 for i := 0; i < b; i++ { oxo := one[i] ^ other[i] - if i == b-1 { - m = MaxPO % 8 - } for j := 0; j < m; j++ { if (oxo>>uint8(7-j))&0x01 != 0 { return i*8 + j |