Эх сурвалжийг харах

Reset storage cache after sync

obscuren 10 жил өмнө
parent
commit
c14071df9d
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      state/state_object.go

+ 1 - 0
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 {