diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-19 20:34:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-19 20:34:27 +0800 |
commit | c14071df9da4ab3f5b372293e87184af9b91c09e (patch) | |
tree | 823ece473fce0c6213a674003228b053e9c005a7 /state | |
parent | 0057bb4ef6d55b5d580a4e0421526a477ef93de9 (diff) | |
download | go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.gz go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.tar.zst go-tangerine-c14071df9da4ab3f5b372293e87184af9b91c09e.zip |
Reset storage cache after sync
Diffstat (limited to 'state')
-rw-r--r-- | state/state_object.go | 1 |
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 { |