aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-19 20:34:27 +0800
committerobscuren <geffobscura@gmail.com>2015-02-19 20:34:27 +0800
commitc14071df9da4ab3f5b372293e87184af9b91c09e (patch)
tree823ece473fce0c6213a674003228b053e9c005a7
parent0057bb4ef6d55b5d580a4e0421526a477ef93de9 (diff)
downloaddexon-c14071df9da4ab3f5b372293e87184af9b91c09e.tar
dexon-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.gz
dexon-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.bz2
dexon-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.lz
dexon-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.xz
dexon-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.zst
dexon-c14071df9da4ab3f5b372293e87184af9b91c09e.zip
Reset storage cache after sync
-rw-r--r--state/state_object.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/state/state_object.go b/state/state_object.go
index 0c157403c..eaa91c713 100644
--- a/state/state_object.go
+++ b/state/state_object.go
@@ -152,6 +152,7 @@ func (self *StateObject) Sync() {
self.setAddr([]byte(key), value)
}
+ self.storage = make(Storage)
}
func (c *StateObject) GetInstr(pc *big.Int) *ethutil.Value {