Break block proc. loop if we get a bad block
This commit is contained in:
parent
111c81f428
commit
a3ca3ec50d
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user