Skip to content

Commit

Permalink
Update triedb/hashdb/database.go
Browse files Browse the repository at this point in the history
Signed-off-by: Darioush Jalali <darioush.jalali@avalabs.org>
  • Loading branch information
darioush authored Oct 17, 2024
1 parent a5b5caa commit cbc2234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triedb/hashdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func (db *Database) Initialized(genesisRoot common.Hash) bool {

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

0 comments on commit cbc2234

Please sign in to comment.