Skip to content

Commit

Permalink
fix: assign listener to struct
Browse files Browse the repository at this point in the history
  • Loading branch information
alidevjimmy committed Mar 29, 2024
1 parent 381dbc8 commit 0ee6587
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/jsonrpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func (s *Server) StartServer(grpcServer string) error {
if err != nil {
s.logger.Error("unable to establish tcp connection", "error", err)
}
s.listener = listener

mux := http.NewServeMux()
mux.HandleFunc("/", jgw.HttpHandler)
Expand Down

0 comments on commit 0ee6587

Please sign in to comment.