mirror of
https://github.com/yann-shi/dht.git
synced 2026-10-16 20:21:06 +08:00
fix: fix a stupid problem in bitmap_xor #55
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ package dht
|
||||
func xor(dst, a, b []byte) {
|
||||
n := len(a)
|
||||
for i := 0; i < n; i++ {
|
||||
distance.data[i] = bitmap.data[i] ^ other.data[i]
|
||||
dst[i] = a[i] ^ b[i]
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user