Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
Update client/pov-recovery/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
ggwpez and bkchr authored May 4, 2023
commit c37803865a7a88e390d781a70c3554490175b8bc
2 changes: 1 addition & 1 deletion client/pov-recovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl<Block: BlockT> RecoveryQueue<Block> {
/// Get the next hash for block recovery.
pub async fn next_recovery(&mut self) -> Block::Hash {
loop {
if (self.signaling_queue.next().await).is_some() {
if self.signaling_queue.next().await.is_some() {
if let Some(hash) = self.recovery_queue.pop_front() {
return hash
} else {
Expand Down