forked from cerc-io/laconicd-deprecated
fix(rpc): fix panic on breaking EVM and feemarket params (#1188)
* release: v0.17.0 changelog (#1153) * release: v0.17.0 changelog * rm newline * update link * fix(rpc): fix panic on breaking EVM and feemarket params * changelog * fix gosec
This commit is contained in:
+6
-5
@@ -61,11 +61,12 @@ func StartJSONRPC(ctx *server.Context, clientCtx client.Context, tmRPCAddr, tmEn
|
||||
}
|
||||
|
||||
httpSrv := &http.Server{
|
||||
Addr: config.JSONRPC.Address,
|
||||
Handler: handlerWithCors.Handler(r),
|
||||
ReadTimeout: config.JSONRPC.HTTPTimeout,
|
||||
WriteTimeout: config.JSONRPC.HTTPTimeout,
|
||||
IdleTimeout: config.JSONRPC.HTTPIdleTimeout,
|
||||
Addr: config.JSONRPC.Address,
|
||||
Handler: handlerWithCors.Handler(r),
|
||||
ReadHeaderTimeout: config.JSONRPC.HTTPTimeout,
|
||||
ReadTimeout: config.JSONRPC.HTTPTimeout,
|
||||
WriteTimeout: config.JSONRPC.HTTPTimeout,
|
||||
IdleTimeout: config.JSONRPC.HTTPIdleTimeout,
|
||||
}
|
||||
httpSrvDone := make(chan struct{}, 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user