Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gd-0 committed Feb 1, 2024
1 parent 41f9f76 commit 1563bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/api/src/proposer/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ where
let slot_cutoff_millis = (slot_time * 1000) + GET_PAYLOAD_REQUEST_CUTOFF_MS as u64;

let mut last_error: Option<ProposerApiError> = None;
let mut first_try = true; // Try at least once to cover case where get_payload is called too late.
let mut first_try = true; // Try at least once to cover case where get_payload is called too late.
while first_try || get_millis_timestamp()? < slot_cutoff_millis {
match self.auctioneer.get_execution_payload(slot, pub_key, block_hash).await {
Ok(Some(versioned_payload)) => return Ok(versioned_payload),
Expand Down

0 comments on commit 1563bda

Please sign in to comment.