aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-04-24 06:00:50 +0800
committerobscuren <geffobscura@gmail.com>2014-04-24 06:00:50 +0800
commit1c85d8c66b9db23687b0446b4a7e97e3e61fe188 (patch)
tree18b53dd3377e082d15185f1cb2c5d255975e0310 /ethchain/state.go
parent0651af9dfd701ba09e6c734f21eff85f61454476 (diff)
downloadgo-tangerine-1c85d8c66b9db23687b0446b4a7e97e3e61fe188.tar.gz
go-tangerine-1c85d8c66b9db23687b0446b4a7e97e3e61fe188.tar.zst
go-tangerine-1c85d8c66b9db23687b0446b4a7e97e3e61fe188.zip
Minor improvements and bug fixes
* Fixed VM base bug
Diffstat (limited to 'ethchain/state.go')
-rw-r--r--ethchain/state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/state.go b/ethchain/state.go
index 655848932..fa63accf8 100644
--- a/ethchain/state.go
+++ b/ethchain/state.go
@@ -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.