Minor improvements and bug fixes
* Fixed VM base bug
This commit is contained in:
@ -34,12 +34,12 @@ func (s *State) Reset() {
|
||||
|
||||
// Syncs the trie and all siblings
|
||||
func (s *State) Sync() {
|
||||
s.trie.Sync()
|
||||
|
||||
// Sync all nested states
|
||||
for _, state := range s.states {
|
||||
state.Sync()
|
||||
}
|
||||
|
||||
s.trie.Sync()
|
||||
}
|
||||
|
||||
// Purges the current trie.
|
||||
|
Reference in New Issue
Block a user