Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
remove unneeded logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rphmeier committed Aug 1, 2023
1 parent 46d207c commit 39ce40e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions client/consensus/aura/src/collators/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,21 +161,6 @@ where
continue
}

// TODO [now]: it'd be nice to handle this gracefully when unincluded segment
// is at maximum.
match params
.relay_client
.candidate_pending_availability(*request.relay_parent(), params.para_id)
.await
{
Err(e) => reject_with_error!(e),
Ok(Some(_)) => {
tracing::info!(target: crate::LOG_TARGET, "Basic mode - don't author when pending availability");
continue
},
Ok(None) => {},
}

let relay_parent_header =
match params.relay_client.header(RBlockId::hash(*request.relay_parent())).await {
Err(e) => reject_with_error!(e),
Expand Down

0 comments on commit 39ce40e

Please sign in to comment.