aboutsummaryrefslogtreecommitdiffstats
path: root/state
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 /state
parent0057bb4ef6d55b5d580a4e0421526a477ef93de9 (diff)
downloadgo-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar
go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.gz
go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.bz2
go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.lz
go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.xz
go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.zst
go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.zip
Reset storage cache after sync
Diffstat (limited to 'state')
-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 {