mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
erigon3: fix state reconstitution segfault #5537
This commit is contained in:
parent
2276f438aa
commit
e26243f14c
@ -121,7 +121,7 @@ func (fw *FillWorker) FillStorage(plainStateCollector *etl.Collector) {
|
||||
fw.currentKey = key
|
||||
if len(val) > 0 {
|
||||
copy(compositeKey[:20], key[:20])
|
||||
binary.BigEndian.PutUint64(key[20:], state2.FirstContractIncarnation)
|
||||
binary.BigEndian.PutUint64(compositeKey[20:], state2.FirstContractIncarnation)
|
||||
copy(compositeKey[20+8:], key[20:])
|
||||
|
||||
if err := plainStateCollector.Collect(compositeKey, val); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user