mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
pass deleted code to collector (#718)
This commit is contained in:
parent
d3ede58ff0
commit
8363cb0535
@ -314,8 +314,8 @@ func getCodeUnwindExtractFunc(db ethdb.Getter) etl.ExtractFunc {
|
||||
newK := dbutils.PlainGenerateStoragePrefix(k, a.Incarnation)
|
||||
var codeHash []byte
|
||||
codeHash, err = db.Get(dbutils.PlainContractCodeBucket, newK)
|
||||
if err != nil {
|
||||
return err
|
||||
if err != nil && !errors.Is(err, ethdb.ErrKeyNotFound) {
|
||||
return fmt.Errorf("getCodeUnwindExtractFunc: %w, key=%x", err, newK)
|
||||
}
|
||||
return next(k, newK, codeHash)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user