|
|
@ -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) |
|
|
|