From 552ce9bf91f0e5031dcdf9902758d6c9157b9cfe Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Thu, 5 Oct 2023 10:52:48 +0530 Subject: [PATCH] log height --- checkpoint/client/rest/query_milestone.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/checkpoint/client/rest/query_milestone.go b/checkpoint/client/rest/query_milestone.go index 3837ab31d..f5c81960a 100644 --- a/checkpoint/client/rest/query_milestone.go +++ b/checkpoint/client/rest/query_milestone.go @@ -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)