Don't check max.
This commit is contained in:
parent
7d4e4c7a62
commit
d6f160e868
@ -505,7 +505,7 @@ impl<K: Kind> VerificationQueue<K> {
|
|||||||
Err(err) => {
|
Err(err) => {
|
||||||
match err {
|
match err {
|
||||||
// Don't mark future blocks as bad.
|
// Don't mark future blocks as bad.
|
||||||
Error::Block(BlockError::TemporarilyInvalid(ref e)) if e.max.is_some() => {},
|
Error::Block(BlockError::TemporarilyInvalid(_)) => {},
|
||||||
_ => {
|
_ => {
|
||||||
self.verification.bad.lock().insert(h.clone());
|
self.verification.bad.lock().insert(h.clone());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user