Skip to content

Commit

Permalink
add logs for the checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mapdev33 committed Jan 12, 2024
1 parent 4c5bbd6 commit 6a468a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions atlas/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,12 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
eth.netRPCService = atlasapi.NewPublicNetAPI(eth.p2pServer, config.NetworkId)
// start simple verify the latest checkpoint
if config.VerifyCheckPoint {
log.Info("[atlas start on verify the check point]")
err := chain.VerifyCheckPoint(true, eth.blockchain)
if err != nil {
return nil, err
}
log.Info("[atlas start on verify the check point. pass....]")
}

// Register the backend on the node
Expand Down

0 comments on commit 6a468a7

Please sign in to comment.