Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Schwartz committed Jun 7, 2022
1 parent ea51732 commit 84cc1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

type perConnLimiterKeyType string

const perConnLimiterKey = "limiter"
const perConnLimiterKey perConnLimiterKeyType = "limiter"

// Handler returns a gateway http.Handler, to be mounted as-is on the server.
func Handler(gwapi lapi.Gateway, api lapi.FullNode, rateLimit int64, connPerMinute int64, opts ...jsonrpc.ServerOption) (http.Handler, error) {
Expand Down

0 comments on commit 84cc1e3

Please sign in to comment.