Skip to content

Commit 2fc29f6

Browse files
committed
fix lint
1 parent 27aef14 commit 2fc29f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

trie/node.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ func newValueNode(resolver func() []byte) *valueNode {
7777
}
7878
}
7979

80-
func (v *valueNode) resolve() []byte {
81-
if v.val == nil {
82-
v.val = v.resolver()
80+
func (n *valueNode) resolve() []byte {
81+
if n.val == nil {
82+
n.val = n.resolver()
8383
}
84-
return v.val
84+
return n.val
8585
}
8686

8787
// EncodeRLP encodes a full node into the consensus RLP format.

0 commit comments

Comments
 (0)