Skip to content

Commit

Permalink
refactor(rpc): shortening parameter list of NewServer
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Nov 2, 2022
1 parent 8357b4c commit a6c9f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Server struct {
started atomic.Bool
}

func NewServer(address string, port string) *Server {
func NewServer(address, port string) *Server {
rpc := jsonrpc.NewServer()
return &Server{
rpc: rpc,
Expand Down

0 comments on commit a6c9f56

Please sign in to comment.