Update difflayer.go

This commit is contained in:
Christina 2025-01-27 16:50:54 +02:00 committed by GitHub
parent ce5388a15c
commit 457b9dff24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,8 +27,8 @@ import (
// diffLayer represents a collection of modifications made to the in-memory tries
// along with associated state changes after running a block on top.
//
// The goal of a diff layer is to act as a journal, tracking recent modifications
// made to the state, that has not yet graduated into a semi-immutable state.
// The purpose of a diff layer is to serve as a journal, recording recent state modifications
// that have not yet been committed to a more stable or semi-permanent state.
type diffLayer struct {
// Immutables
root common.Hash // Root hash to which this layer diff belongs to