Skip to content

Commit 54b59e6

Browse files
committed
fix: whitespace
1 parent 034dc15 commit 54b59e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

hermes/src/network/p2p.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import (
3232
"strings"
3333
"time"
3434

35-
"net/http"
36-
_ "net/http/pprof"
35+
"net/http"
36+
_ "net/http/pprof"
3737

3838
"github.com/libp2p/go-libp2p"
3939
"github.com/libp2p/go-libp2p/core/crypto"
@@ -58,10 +58,10 @@ func RegisterObservationCallback(f C.callback_t, network_id, bootstrap_addrs, li
5858
bootstrapAddrs := strings.Split(C.GoString(bootstrap_addrs), ",")
5959
listenAddrs := strings.Split(C.GoString(listen_addrs), ",")
6060

61-
// Bind pprof to 6060 for debugging Go code.
62-
go func() {
63-
http.ListenAndServe("127.0.0.1:6060", nil)
64-
}()
61+
// Bind pprof to 6060 for debugging Go code.
62+
go func() {
63+
http.ListenAndServe("127.0.0.1:6060", nil)
64+
}()
6565

6666
var startTime int64
6767
var recoverRerun func()

0 commit comments

Comments
 (0)