Skip to content

Commit

Permalink
chore: addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Aug 9, 2024
1 parent c2d0441 commit a6561db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bolt-sidecar/src/builder/payload_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use regex::Regex;
use reqwest::Url;
use reth_primitives::{
constants::BEACON_NONCE, proofs, BlockBody, Bloom, Header, SealedBlock, TransactionSigned,
Withdrawals, EMPTY_OMMER_ROOT_HASH,
Withdrawal, Withdrawals, EMPTY_OMMER_ROOT_HASH,
};
use reth_rpc_layer::{secret_to_bearer_header, JwtSecret};
use serde_json::Value;
Expand Down Expand Up @@ -252,9 +252,7 @@ impl FallbackPayloadBuilder {
}

/// Fetch the expected withdrawals for the given slot from the beacon chain.
async fn get_expected_withdrawals_at_head(
&self,
) -> Result<Vec<reth_primitives::Withdrawal>, BuilderError> {
async fn get_expected_withdrawals_at_head(&self) -> Result<Vec<Withdrawal>, BuilderError> {
Ok(self
.beacon_api_client
.get_expected_withdrawals(StateId::Head, None)
Expand Down

0 comments on commit a6561db

Please sign in to comment.