Skip to content

Commit e506d38

Browse files
LLLeonkaralabe
authored andcommitted
core/state: fix typo (#16370)
1 parent dd708c1 commit e506d38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/state/statedb.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ type StateDB struct {
8383
lock sync.Mutex
8484
}
8585

86-
// Create a new state from a given trie
86+
// Create a new state from a given trie.
8787
func New(root common.Hash, db Database) (*StateDB, error) {
8888
tr, err := db.OpenTrie(root)
8989
if err != nil {
@@ -110,7 +110,7 @@ func (self *StateDB) Error() error {
110110
return self.dbErr
111111
}
112112

113-
// Reset clears out all emphemeral state objects from the state db, but keeps
113+
// Reset clears out all ephemeral state objects from the state db, but keeps
114114
// the underlying state trie to avoid reloading data for the next operations.
115115
func (self *StateDB) Reset(root common.Hash) error {
116116
tr, err := self.db.OpenTrie(root)

0 commit comments

Comments
 (0)