mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Fix adapter compile error
This commit is contained in:
parent
836391cc53
commit
c6761f0b18
1 changed files with 1 additions and 0 deletions
|
@ -437,6 +437,7 @@ impl NetToChainAdapter {
|
|||
// We are out of consensus at this point and want to track the problem
|
||||
// down as soon as possible.
|
||||
// Skip this if we are currently syncing (too slow).
|
||||
let chain = w(&self.chain);
|
||||
if chain.head().unwrap().height > 0 && !self.currently_syncing.load(Ordering::Relaxed)
|
||||
&& self.config.chain_validation_mode == ChainValidationMode::EveryBlock
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue