diff --git a/cmd/rpcdaemon/cli/config.go b/cmd/rpcdaemon/cli/config.go index e88c957219c337442774ca58f75f6f47fb757480..8836920cf664467bcdc1d4e6447a535478a96e23 100644 --- a/cmd/rpcdaemon/cli/config.go +++ b/cmd/rpcdaemon/cli/config.go @@ -244,6 +244,7 @@ func StartRpcServer(ctx context.Context, cfg Flags, rpcAPI []rpc.API) error { var handler http.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if cfg.WebsocketEnabled && r.Method == "GET" { wsHandler.ServeHTTP(w, r) + return } httpHandler.ServeHTTP(w, r) })