BlockReader: remove redundant check

This commit is contained in:
alex.sharov 2023-08-11 11:45:02 +06:00
parent e3a59ed902
commit 7ca6649e0c

View File

@ -598,9 +598,6 @@ func (r *BlockReader) bodyForStorageFromSnapshot(blockHeight uint64, sn *BodySeg
return nil, buf, err 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 return b, buf, nil
} }