UpdateRoot sets the trie root to the current root hash of
(db Database)
| 215 | |
| 216 | // UpdateRoot sets the trie root to the current root hash of |
| 217 | func (self *stateObject) updateRoot(db Database) { |
| 218 | self.updateTrie(db) |
| 219 | self.data.Root = self.trie.Hash() |
| 220 | } |
| 221 | |
| 222 | // CommitTrie the storage trie of the object to db. |
| 223 | // This updates the trie root. |
no test coverage detected