From 54b59e6644c1cc25c52f4807aeb09782e69aeb78 Mon Sep 17 00:00:00 2001 From: Reisen Date: Mon, 12 Jun 2023 10:30:26 +0100 Subject: [PATCH] fix: whitespace --- hermes/src/network/p2p.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hermes/src/network/p2p.go b/hermes/src/network/p2p.go index a02c8b4b..493c8b32 100644 --- a/hermes/src/network/p2p.go +++ b/hermes/src/network/p2p.go @@ -32,8 +32,8 @@ import ( "strings" "time" - "net/http" - _ "net/http/pprof" + "net/http" + _ "net/http/pprof" "github.com/libp2p/go-libp2p" "github.com/libp2p/go-libp2p/core/crypto" @@ -58,10 +58,10 @@ func RegisterObservationCallback(f C.callback_t, network_id, bootstrap_addrs, li bootstrapAddrs := strings.Split(C.GoString(bootstrap_addrs), ",") listenAddrs := strings.Split(C.GoString(listen_addrs), ",") - // Bind pprof to 6060 for debugging Go code. - go func() { - http.ListenAndServe("127.0.0.1:6060", nil) - }() + // Bind pprof to 6060 for debugging Go code. + go func() { + http.ListenAndServe("127.0.0.1:6060", nil) + }() var startTime int64 var recoverRerun func()