Added source verification

This commit is contained in:
Mathias Hall-Andersen
2017-07-08 09:23:10 +02:00
parent ed31e75739
commit 5c1ccbddf0
5 changed files with 115 additions and 44 deletions

View File

@@ -329,7 +329,7 @@ func (peer *Peer) RoutineSequentialSender() {
if err != nil {
return
}
atomic.AddUint64(&peer.tx_bytes, uint64(len(work.packet)))
atomic.AddUint64(&peer.txBytes, uint64(len(work.packet)))
// shift keep-alive timer