Revert "randomize based on self address"
This reverts commit 6230eb28a6.
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
package util
|
||||
|
||||
import "hash/fnv"
|
||||
|
||||
func HashBytesToInt64(x []byte) int64 {
|
||||
hash := fnv.New64()
|
||||
hash.Write(x)
|
||||
return int64(hash.Sum64())
|
||||
}
|
||||
Reference in New Issue
Block a user