fix: poll_tick does not register waker if ready (#2276)

This commit is contained in:
Matthias Seitz
2023-04-16 22:45:57 +02:00
committed by GitHub
parent 348e7301a3
commit 581e9ffcc4
4 changed files with 6 additions and 0 deletions

View File

@ -262,6 +262,7 @@ where
this.pending_block.is_none() &&
!deadline_reached
{
let _ = this.interval.poll_tick(cx);
trace!("spawn new payload build task");
let (tx, rx) = oneshot::channel();
let client = this.client.clone();