mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
revert change (#2669)
This commit is contained in:
parent
b5a6046fc3
commit
9ac16d2528
@ -278,7 +278,7 @@ func WriteGenesisBlock(db kv.RwTx, genesis *Genesis) (*params.ChainConfig, *type
|
||||
// are returned to the caller unless we're already at block zero.
|
||||
height := rawdb.ReadHeaderNumber(db, rawdb.ReadHeadHeaderHash(db))
|
||||
if height == nil {
|
||||
return newcfg, storedBlock, fmt.Errorf("missing block number for head header hash")
|
||||
//return newcfg, storedBlock, fmt.Errorf("missing block number for head header hash")
|
||||
} else {
|
||||
compatErr := storedcfg.CheckCompatible(newcfg, *height)
|
||||
if compatErr != nil && *height != 0 && compatErr.RewindTo != 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user