mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 03:56:36 +00:00
Reset storage cache after sync
This commit is contained in:
parent
0057bb4ef6
commit
c14071df9d
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue