Skip to content

Commit 98204c8

Browse files
committed
triedb/pathdb/database_test.go: lastRoot -> lastHash
1 parent e2b0abb commit 98204c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

triedb/pathdb/database_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ func (t *tester) generate(parent common.Hash) (common.Hash, *trienode.MergedNode
302302
return root, ctx.nodes, triestate.New(ctx.accountOrigin, ctx.storageOrigin, nil)
303303
}
304304

305-
// lastRoot returns the latest root hash, or empty if nothing is cached.
305+
// lastHash returns the latest root hash, or empty if nothing is cached.
306306
func (t *tester) lastHash() common.Hash {
307307
if len(t.roots) == 0 {
308308
return common.Hash{}

0 commit comments

Comments
 (0)