we may receive a block (header) with no previous header (#972)

as we have not yet sync'd to that point
this is valid and not an error
This commit is contained in:
Antioch Peverell
2018-04-18 01:52:07 +01:00
committed by GitHub
parent 2503811e89
commit 891382653d
+2 -2
View File
@@ -147,9 +147,9 @@ impl p2p::ChainAdapter for NetToChainAdapter {
true
}
} else {
error!(
debug!(
LOGGER,
"adapter: failed to retrieve previous block header (consider ban here?)"
"adapter: failed to retrieve previous block header (still syncing?)"
);
true
}