From f033c8d3edaf739a951c51ec179934f20f50df6f Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 23 Mar 2020 09:26:56 +0100 Subject: [PATCH] Update node/node.go --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index 06923b0872..7d8f9b07b9 100644 --- a/node/node.go +++ b/node/node.go @@ -382,7 +382,7 @@ func (n *Node) startHTTP(endpoint string, apis []rpc.API, modules []string, cors // stopHTTP terminates the HTTP RPC endpoint. func (n *Node) stopHTTP() { if n.httpListener != nil { - url := fmt.Sprintf("http://%v", n.httpListener.Addr()) + url := fmt.Sprintf("http://%v/", n.httpListener.Addr()) n.httpListener.Close() n.httpListener = nil n.log.Info("HTTP endpoint closed", "url", url)