Skip to content

Commit

Permalink
hotfix for short slots
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed May 16, 2024
1 parent 3fe06d0 commit cf5e091
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mev-build-rs/src/auctioneer/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,12 @@ impl<
}

async fn submit_payload(&self, payload: EthBuiltPayload) {
let auction = self.open_auctions.get(&payload.id()).expect("has auction");
// TODO: resolve hot fix for short slot timings
let auction = self.open_auctions.get(&payload.id());
if auction.is_none() {
return
}
let auction = auction.unwrap();
let mut successful_relays_for_submission = Vec::with_capacity(auction.relays.len());
match prepare_submission(
&payload,
Expand Down

0 comments on commit cf5e091

Please sign in to comment.