Skip to content

Commit

Permalink
Merge pull request ethereum#374 from tomochain/thanhson1085-crit-log
Browse files Browse the repository at this point in the history
Update blockchain.go
  • Loading branch information
ngtuna committed Jan 1, 2019
2 parents 8dada6b + 1ddd1b5 commit 1ecc2a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks) (int, []interface{}, []*ty
if (chain[i].NumberU64() % bc.chainConfig.Posv.Epoch) == (bc.chainConfig.Posv.Epoch - bc.chainConfig.Posv.Gap) {
err := bc.UpdateM1()
if err != nil {
log.Error("Error when update masternodes set. Stopping node", "err", err)
os.Exit(1)
log.Crit("Error when update masternodes set. Stopping node", "err", err)
}
}
}
Expand Down

0 comments on commit 1ecc2a6

Please sign in to comment.