Skip to content

Commit

Permalink
Notify only accepted solvers
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Jan 31, 2025
1 parent 85a3d86 commit 921692f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ impl Validator {
.map(|solver| {
let self_ = self.0.clone();
async move {
if let Some(driver) = self_.drivers_by_address.get(&solver) {
if let Some(driver) = self_
.drivers_by_address
.get(&solver)
.filter(|driver| driver.accepts_unsettled_blocking)
{
if let Err(err) = driver
.notify(
&infra::solvers::dto::notify::Request::UnsettledConsecutiveAuctions,
Expand Down

0 comments on commit 921692f

Please sign in to comment.