Skip to content
This repository was archived by the owner on May 25, 2020. It is now read-only.

Commit 40214b1

Browse files
authored
Merge pull request #800 from nguyenbatam/fix_restart_nonde_empty_tomox_state
fix restart node with number < TomoX hard fork
2 parents 934dab5 + d3995a0 commit 40214b1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

core/blockchain.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,11 @@ func (bc *BlockChain) repair(head **types.Block) error {
540540
return nil
541541
}
542542
}
543+
} else {
544+
return nil
543545
}
546+
} else {
547+
return nil
544548
}
545549
}
546550
// Otherwise rewind one block and recheck state availability there

0 commit comments

Comments
 (0)