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
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ func (self *stateObject) updateRoot(db Database) {
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.
func (self *stateObject) CommitTrie(db Database) error {
self.updateTrie(db)