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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,9 +147,9 @@ impl p2p::ChainAdapter for NetToChainAdapter {
true true
} }
} else { } else {
error!( debug!(
LOGGER, LOGGER,
"adapter: failed to retrieve previous block header (consider ban here?)" "adapter: failed to retrieve previous block header (still syncing?)"
); );
true true
} }