Skip to content

Commit

Permalink
fix(beacon_client): update blob sidecars endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
PJColombo committed Aug 20, 2023
1 parent 9aaa590 commit cf22754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/beacon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl BeaconClient {
}

pub async fn get_blobs(&self, slot: u32) -> ClientResult<Option<Vec<Blob>>> {
let path = format!("v1/beacon/blobs/{slot}");
let path = format!("v1/beacon/blob_sidecars/{slot}");
let url = self.base_url.join(path.as_str())?;

json_get!(&self.client, url, BlobsResponse).map(|res| match res {
Expand Down

0 comments on commit cf22754

Please sign in to comment.