Add log when block not processed in queue

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

View File

@ -733,6 +733,14 @@ impl SimpleSync {
if outcome.sucessfully_processed() {
successful += 1;
self.import_queue.remove(block_root);
} else {
debug!(
self.log,
"ProcessImportQueue";
"msg" => "Block not imported",
"outcome" => format!("{:?}", outcome),
"peer" => format!("{:?}", sender),
);
}
}
Err(e) => {