mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
fix lint
This commit is contained in:
parent
27aef146f5
commit
2fc29f6188
1 changed files with 4 additions and 4 deletions
|
|
@ -77,11 +77,11 @@ func newValueNode(resolver func() []byte) *valueNode {
|
|||
}
|
||||
}
|
||||
|
||||
func (v *valueNode) resolve() []byte {
|
||||
if v.val == nil {
|
||||
v.val = v.resolver()
|
||||
func (n *valueNode) resolve() []byte {
|
||||
if n.val == nil {
|
||||
n.val = n.resolver()
|
||||
}
|
||||
return v.val
|
||||
return n.val
|
||||
}
|
||||
|
||||
// EncodeRLP encodes a full node into the consensus RLP format.
|
||||
|
|
|
|||
Loading…
Reference in a new issue