From 91cf9d4595afd6bc1d99ada689aa97649e8d6cb5 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Thu, 23 Jul 2015 14:15:53 -0700 Subject: [PATCH] remove spurious :6060 listener for pprof --- node/node.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/node/node.go b/node/node.go index 24da8e84e..82b42d990 100644 --- a/node/node.go +++ b/node/node.go @@ -2,7 +2,6 @@ package node import ( "bytes" - "fmt" "math/rand" "net" "net/http" @@ -28,12 +27,6 @@ import ( import _ "net/http/pprof" -func init() { - go func() { - fmt.Println(http.ListenAndServe("0.0.0.0:6060", nil)) - }() -} - type Node struct { sw *p2p.Switch evsw *events.EventSwitch