Skip to content

Commit

Permalink
log height
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Oct 5, 2023
1 parent 8b7f9e4 commit 552ce9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions checkpoint/client/rest/query_milestone.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ func milestoneLatestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc {
return
}

RestLogger.Info("***** fetching latest milestone", "height", cliCtx.Height)

// Return status code 503 (Service Unavailable) if HF hasn't been activated
if cliCtx.Height < helper.GetAalborgHardForkHeight() {
RestLogger.Info("***** Aalborg hardfork not activated yet *****", "url", r.URL)
Expand Down

0 comments on commit 552ce9b

Please sign in to comment.