Remove unused proc getBlobSidecar (#4979)

This commit is contained in:
henridf 2023-05-19 18:01:07 +02:00 committed by GitHub
parent c14d396718
commit 4b23c4292d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -989,14 +989,6 @@ proc getBlock*[
else:
result.err()
proc getBlobSidecar*(db: BeaconChainDB, root: Eth2Digest, index: BlobIndex):
Opt[BlobSidecar] =
var blobs: BlobSidecar
result.ok(blobs)
if db.blobs.getSZSSZ(blobkey(root, index), result.get) != GetResult.found:
result.err()
proc getPhase0BlockSSZ(
db: BeaconChainDBV0, key: Eth2Digest, data: var seq[byte]): bool =
let dataPtr = addr data # Short-lived