trie/database: add very important period

This commit is contained in:
Martin Holst Swende 2019-03-22 16:06:15 +01:00
parent 3c242b4dd2
commit 1cac80dabf
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -266,7 +266,7 @@ func expandNode(hash hashNode, n node) node {
// map shard id.
type trienodeHasher struct{}
// Sum64 implements the bigcache.Hasher interface
// Sum64 implements the bigcache.Hasher interface.
func (t trienodeHasher) Sum64(key string) uint64 {
return binary.BigEndian.Uint64([]byte(key))
}