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 dd708c1 commit e506d38Copy full SHA for e506d38
core/state/statedb.go
@@ -83,7 +83,7 @@ type StateDB struct {
83
lock sync.Mutex
84
}
85
86
-// Create a new state from a given trie
+// Create a new state from a given trie.
87
func New(root common.Hash, db Database) (*StateDB, error) {
88
tr, err := db.OpenTrie(root)
89
if err != nil {
@@ -110,7 +110,7 @@ func (self *StateDB) Error() error {
110
return self.dbErr
111
112
113
-// Reset clears out all emphemeral state objects from the state db, but keeps
+// Reset clears out all ephemeral state objects from the state db, but keeps
114
// the underlying state trie to avoid reloading data for the next operations.
115
func (self *StateDB) Reset(root common.Hash) error {
116
tr, err := self.db.OpenTrie(root)
0 commit comments