core: fix typo in comment code

This commit is contained in:
hadv 2018-06-05 09:56:45 +07:00
parent ed40767355
commit e3a993d774
No known key found for this signature in database
GPG Key ID: EC2B318ACE3D164F

View File

@ -219,7 +219,7 @@ func (self *stateObject) updateRoot(db Database) {
self.data.Root = self.trie.Hash() self.data.Root = self.trie.Hash()
} }
// CommitTrie the storage trie of the object to dwb. // CommitTrie the storage trie of the object to db.
// This updates the trie root. // This updates the trie root.
func (self *stateObject) CommitTrie(db Database) error { func (self *stateObject) CommitTrie(db Database) error {
self.updateTrie(db) self.updateTrie(db)