From 5af22d6ee63efc507f207a702450afdaec171945 Mon Sep 17 00:00:00 2001 From: zbo14 Date: Fri, 3 Nov 2017 14:22:50 -0400 Subject: [PATCH] remove SwitchEventNewPeer, SwitchEventDonePeer --- p2p/conn/connection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/p2p/conn/connection.go b/p2p/conn/connection.go index d44ad075..0cdb56a3 100644 --- a/p2p/conn/connection.go +++ b/p2p/conn/connection.go @@ -320,6 +320,7 @@ FOR_LOOP: c.Logger.Debug("Send Ping") wire.WriteByte(packetTypePing, c.bufWriter, &n, &err) c.sendMonitor.Update(int(n)) + // c.flush go c.flush() c.Logger.Debug("Starting pong timer") c.pongTimer.Set()