Break block proc. loop if we get a bad block

This commit is contained in:
Paul Hauner 2019-04-01 15:32:04 +11:00
parent 111c81f428
commit a3ca3ec50d
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -726,6 +726,7 @@ impl SimpleSync {
"reason" => format!("{:?}", outcome),
);
network.disconnect(sender, GoodbyeReason::Fault);
break;
}
// If this results to true, the item will be removed from the queue.