From aad244165fd5a326c61340eedbe2afbebdcca918 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Mon, 18 Feb 2019 23:34:02 -0800 Subject: [PATCH] fix build error of unused variable Signed-off-by: Leo Chen --- p2p/host/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/host/message.go b/p2p/host/message.go index 501bd1c78..af90a81ce 100644 --- a/p2p/host/message.go +++ b/p2p/host/message.go @@ -27,7 +27,7 @@ func BroadcastMessage(h p2p.Host, peers []p2p.Peer, msg []byte, lostPeer chan p2 length := len(content) // log.Info("Start Broadcasting", "gomaxprocs", runtime.GOMAXPROCS(0), "Size", length) - start := time.Now() + // start := time.Now() for _, peer := range peers { peerCopy := peer go send(h, peerCopy, content, lostPeer)