mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
BlockReader: remove redundant check
This commit is contained in:
parent
e3a59ed902
commit
7ca6649e0c
@ -598,9 +598,6 @@ func (r *BlockReader) bodyForStorageFromSnapshot(blockHeight uint64, sn *BodySeg
|
||||
return nil, buf, err
|
||||
}
|
||||
|
||||
if b.BaseTxId < sn.idxBodyNumber.BaseDataID() {
|
||||
return nil, buf, fmt.Errorf(".idx file has wrong baseDataID? %d<%d, %s", b.BaseTxId, sn.idxBodyNumber.BaseDataID(), sn.seg.FilePath())
|
||||
}
|
||||
return b, buf, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user