mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Break block proc. loop if we get a bad block
This commit is contained in:
@@ -726,6 +726,7 @@ impl SimpleSync {
|
|||||||
"reason" => format!("{:?}", outcome),
|
"reason" => format!("{:?}", outcome),
|
||||||
);
|
);
|
||||||
network.disconnect(sender, GoodbyeReason::Fault);
|
network.disconnect(sender, GoodbyeReason::Fault);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this results to true, the item will be removed from the queue.
|
// If this results to true, the item will be removed from the queue.
|
||||||
|
|||||||
Reference in New Issue
Block a user