Skip to content

Commit bfc489e

Browse files
committed
chore: address clippy warnings
1 parent 6ae59e0 commit bfc489e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

aggregation_mode/sdk/src/beacon.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ impl BeaconClient {
8080
let parent_block_hash_hex = format!("0x{}", hex::encode(parent_block_hash));
8181
let data = self
8282
.beacon_get(&format!(
83-
"/eth/v1/beacon/headers?parent_root={}",
84-
parent_block_hash_hex
83+
"/eth/v1/beacon/headers?parent_root={parent_block_hash_hex}"
8584
))
8685
.await?;
8786

@@ -97,7 +96,7 @@ impl BeaconClient {
9796

9897
pub async fn get_blobs_from_slot(&self, slot: u64) -> Result<Vec<BlobData>, BeaconClientError> {
9998
let data = self
100-
.beacon_get(&format!("/eth/v1/beacon/blob_sidecars/{}", slot))
99+
.beacon_get(&format!("/eth/v1/beacon/blob_sidecars/{slot}"))
101100
.await?;
102101

103102
Vec::<BlobData>::deserialize(data)

0 commit comments

Comments
 (0)