Add P1 queue to BP

This commit is contained in:
Paul Hauner
2023-07-04 17:21:26 +10:00
parent 5914e36594
commit 799d20c163
2 changed files with 19 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ impl Priority {
fn work_event<E: EthSpec>(&self, process_fn: BlockingOrAsync) -> WorkEvent<E> {
let work = match self {
Priority::P0 => Work::ApiRequestP0(process_fn),
Priority::P1 => unimplemented!("P1"),
Priority::P1 => Work::ApiRequestP1(process_fn),
};
WorkEvent {
drop_during_sync: false,