Skip to content

Commit cbc2234

Browse files
author
Darioush Jalali
authored
Update triedb/hashdb/database.go
Signed-off-by: Darioush Jalali <[email protected]>
1 parent a5b5caa commit cbc2234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

triedb/hashdb/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ func (db *Database) Initialized(genesisRoot common.Hash) bool {
631631

632632
// Update inserts the dirty nodes in provided nodeset into database and link the
633633
// account trie with multiple storage tries if necessary.
634-
// If ReferenceRoot was enabled in the config, it will also add a reference from
634+
// If ReferenceRootAtomicallyOnUpdate was enabled in the config, it will also add a reference from
635635
// the root to the metaroot while holding the db's lock.
636636
func (db *Database) Update(root common.Hash, parent common.Hash, block uint64, nodes *trienode.MergedNodeSet, states *triestate.Set) error {
637637
// Ensure the parent state is present and signal a warning if not.

0 commit comments

Comments
 (0)