diff --git a/waku/node.go b/waku/node.go index 55bb730a..3a109d7d 100644 --- a/waku/node.go +++ b/waku/node.go @@ -299,6 +299,8 @@ func Execute(options Options) { rpcServer.Start() } + utils.Logger().Info("Node setup complete") + // Wait for a SIGINT or SIGTERM signal ch := make(chan os.Signal, 1) signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM) diff --git a/waku/v2/rpc/waku_rpc.go b/waku/v2/rpc/waku_rpc.go index d2fb7c7f..c4e77632 100644 --- a/waku/v2/rpc/waku_rpc.go +++ b/waku/v2/rpc/waku_rpc.go @@ -72,7 +72,7 @@ func NewWakuRpc(node *node.WakuNode, address string, port int, enableAdmin bool, } mux := http.NewServeMux() - mux.HandleFunc("/jsonrpc", func(w http.ResponseWriter, r *http.Request) { + mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { t := time.Now() s.ServeHTTP(w, r) wrpc.log.Infof("RPC request at %s took %s", r.URL.Path, time.Since(t))