mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-08 03:46:52 +01:00
fix some code and comment typos
This commit is contained in:
@@ -101,8 +101,8 @@ func (a *DebugAPI) handleSyncStats(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, stats)
|
||||
}
|
||||
|
||||
// Run starts the http server of the DebugAPI. To stop it, pass a context with
|
||||
// cancelation (see `debugapi_test.go` for an example).
|
||||
// Run starts the http server of the DebugAPI. To stop it, pass a context
|
||||
// with cancellation (see `debugapi_test.go` for an example).
|
||||
func (a *DebugAPI) Run(ctx context.Context) error {
|
||||
api := gin.Default()
|
||||
api.NoRoute(handleNoRoute)
|
||||
|
||||
Reference in New Issue
Block a user