Skip to content

Commit

Permalink
not receiving winning bids does not constitute an error for auctionee…
Browse files Browse the repository at this point in the history
…r: just log and return
  • Loading branch information
SuperFluffy authored and bharath-123 committed Dec 6, 2024
1 parent a8f8466 commit 47adada
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ impl Worker {
}
};

let winner = auction_result.ok_or_eyre("auction ended with no winning bid")?;
let Some(winner) = auction_result else {
info!("auction ended with no winning bid");
return Ok(());
};

// TODO: report the pending nonce that we ended up using.
let transaction = Arc::unwrap_or_clone(winner)
Expand Down

0 comments on commit 47adada

Please sign in to comment.