mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 21:11:20 +00:00
Warn not error when body is missing (#4309)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
parent
e0323e7434
commit
85814cacc5
@ -1073,7 +1073,8 @@ func DumpTxs(ctx context.Context, db kv.RoDB, segmentFile, tmpDir string, blockF
|
||||
h := common.BytesToHash(v)
|
||||
dataRLP := rawdb.ReadStorageBodyRLP(tx, h, blockNum)
|
||||
if dataRLP == nil {
|
||||
return false, fmt.Errorf("body not found: %d, %x", blockNum, h)
|
||||
log.Debug("DumpTxs block body not found", "height", blockNum, "hash", h)
|
||||
return true, nil
|
||||
}
|
||||
var body types.BodyForStorage
|
||||
if e := rlp.DecodeBytes(dataRLP, &body); e != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user