Skip to content

Commit

Permalink
core/state: fix typo (ethereum#16370)
Browse files Browse the repository at this point in the history
  • Loading branch information
LLLeon authored and karalabe committed Mar 26, 2018
1 parent dd708c1 commit e506d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type StateDB struct {
lock sync.Mutex
}

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

// 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
// the underlying state trie to avoid reloading data for the next operations.
func (self *StateDB) Reset(root common.Hash) error {
tr, err := self.db.OpenTrie(root)
Expand Down

0 comments on commit e506d38

Please sign in to comment.