Reset storage cache after sync
This commit is contained in:
parent
0057bb4ef6
commit
c14071df9d
|
@ -152,6 +152,7 @@ func (self *StateObject) Sync() {
|
||||||
|
|
||||||
self.setAddr([]byte(key), value)
|
self.setAddr([]byte(key), value)
|
||||||
}
|
}
|
||||||
|
self.storage = make(Storage)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *StateObject) GetInstr(pc *big.Int) *ethutil.Value {
|
func (c *StateObject) GetInstr(pc *big.Int) *ethutil.Value {
|
||||||
|
|
Loading…
Reference in New Issue