Skip to content

Commit

Permalink
add mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiAbyss committed Aug 9, 2024
1 parent 3b994d8 commit 9eb3d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func recordMetrics() {
testNetChainHeight, err := abci.LastBlockHeight(testNetRpc)
if err != nil {
fmt.Println(err)
continue
time.Sleep(time.Minute * 10)
}
testNetCalcHeight := testNetChainHeight / 3600 * 3600
checkTestNetBlock.Set(float64(testNetCalcHeight))
Expand All @@ -54,7 +54,7 @@ func recordMetrics() {
mainNetChainHeight, err := abci.LastBlockHeight(mainNetRpc)
if err != nil {
fmt.Println(err)
continue
time.Sleep(time.Minute * 10)
}
mainNetCalcHeight := mainNetChainHeight / 3600 * 3600
checkMainNetBlock.Set(float64(mainNetCalcHeight))
Expand Down

0 comments on commit 9eb3d32

Please sign in to comment.