fix: fix a stupid problem in bitmap_xor #55

This commit is contained in:
shiyanhui
2020-04-26 11:28:56 +08:00
parent 1b3b78ecf2
commit 1b50f6f23e
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -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.