fix rebase conflicts

This commit is contained in:
Emilia Hane
2023-02-01 17:47:57 +01:00
parent e0b1a0841c
commit 05c51b37b1
6 changed files with 65 additions and 27 deletions

View File

@@ -218,7 +218,7 @@ impl BlockId {
chain: &BeaconChain<T>,
) -> Result<Arc<BlobsSidecar<T::EthSpec>>, warp::Rejection> {
let root = self.root(chain)?.0;
match chain.store.get_blobs(&root) {
match chain.get_blobs(&root, None) {
Ok(Some(blob)) => Ok(Arc::new(blob)),
Ok(None) => Err(warp_utils::reject::custom_not_found(format!(
"Blob with block root {} is not in the store",