We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed260e commit b977953Copy full SHA for b977953
x/merkledb/view.go
@@ -486,8 +486,8 @@ func (v *view) CommitToDB(ctx context.Context) error {
486
return v.commitToDB(ctx)
487
}
488
489
-// Commits the changes from [trieToCommit] to this view,
490
-// this view to its parent, and so on until committing to the db.
+// Commits the changes from [trieToCommit] to the db.
+// Assumes that its parent view has already been committed to the db.
491
// Assumes [v.db.commitLock] is held.
492
func (v *view) commitToDB(ctx context.Context) error {
493
v.commitLock.Lock()
0 commit comments