mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
trie: linter nitpicks
This commit is contained in:
parent
3a34e93c6c
commit
853a69141a
1 changed files with 1 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ func (h *committer) store(n node, db *Database, force bool, hasVnodeChildren boo
|
|||
// Larger nodes are replaced by their hash and stored in the database.
|
||||
var (
|
||||
hash, _ = n.cache()
|
||||
size = 0
|
||||
size int
|
||||
)
|
||||
if hash == nil {
|
||||
if vn, ok := n.(valueNode); ok {
|
||||
|
|
@ -261,7 +261,6 @@ func estimateSize(n node) int {
|
|||
panic(fmt.Sprintf("node type %T", n))
|
||||
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue