mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
trie/database: add very important period
This commit is contained in:
parent
3c242b4dd2
commit
1cac80dabf
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ func expandNode(hash hashNode, n node) node {
|
||||||
// map shard id.
|
// map shard id.
|
||||||
type trienodeHasher struct{}
|
type trienodeHasher struct{}
|
||||||
|
|
||||||
// Sum64 implements the bigcache.Hasher interface
|
// Sum64 implements the bigcache.Hasher interface.
|
||||||
func (t trienodeHasher) Sum64(key string) uint64 {
|
func (t trienodeHasher) Sum64(key string) uint64 {
|
||||||
return binary.BigEndian.Uint64([]byte(key))
|
return binary.BigEndian.Uint64([]byte(key))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue