mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-27 14:58:46 +00:00
Remove unused proc getBlobSidecar (#4979)
This commit is contained in:
parent
c14d396718
commit
4b23c4292d
@ -989,14 +989,6 @@ proc getBlock*[
|
|||||||
else:
|
else:
|
||||||
result.err()
|
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(
|
proc getPhase0BlockSSZ(
|
||||||
db: BeaconChainDBV0, key: Eth2Digest, data: var seq[byte]): bool =
|
db: BeaconChainDBV0, key: Eth2Digest, data: var seq[byte]): bool =
|
||||||
let dataPtr = addr data # Short-lived
|
let dataPtr = addr data # Short-lived
|
||||||
|
Loading…
x
Reference in New Issue
Block a user