mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
Merge 211ba4f2b1 into 475521dd74
This commit is contained in:
commit
c7aabf03a3
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ func (h *hasher) hash(n node, db DatabaseWriter, force bool) (node, node, error)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return hashNode{}, n, err
|
return hashNode{}, n, err
|
||||||
}
|
}
|
||||||
// Cache the hash and RLP blob of the ndoe for later reuse
|
// Cache the hash and RLP blob of the node for later reuse
|
||||||
if hash, ok := hashed.(hashNode); ok && !force {
|
if hash, ok := hashed.(hashNode); ok && !force {
|
||||||
switch cached := cached.(type) {
|
switch cached := cached.(type) {
|
||||||
case shortNode:
|
case shortNode:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue