Revert "randomize based on self address"

This reverts commit 6230eb28a6.
This commit is contained in:
Chris Lu
2019-01-28 12:12:51 -08:00
parent 6230eb28a6
commit 1334507595
2 changed files with 0 additions and 11 deletions

View File

@@ -1,9 +0,0 @@
package util
import "hash/fnv"
func HashBytesToInt64(x []byte) int64 {
hash := fnv.New64()
hash.Write(x)
return int64(hash.Sum64())
}