Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Commit

Permalink
feat: define explorer alias for root consensus endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVerstraete committed Feb 15, 2019
1 parent 453a5be commit 3538d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ func RegisterExplorerHTTPHandlers(router Router, cs modules.ConsensusSet, explor
router.GET("/explorer/stats/history", NewExplorerHistoryStatsHandler(explorer))
router.GET("/explorer/stats/range", NewExplorerRangeStatsHandler(explorer))
router.GET("/explorer/constants", NewExplorerConstantsHandler(explorer))
router.GET("/explorer/downloader/status", NewConsensusRootHandler(cs))
}

// NewExplorerBlocksHandler creates a handler to handle API calls to /explorer/blocks/:height.
Expand Down

0 comments on commit 3538d0e

Please sign in to comment.