Browse Source

remove SwitchEventNewPeer, SwitchEventDonePeer

pull/1095/head
zbo14 7 years ago
committed by Anton Kaliaev
parent
commit
5af22d6ee6
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      p2p/conn/connection.go

+ 1
- 0
p2p/conn/connection.go View File

@ -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()


Loading…
Cancel
Save