From a21a039b5709e3ea5b244a14eb5ee99f5ad14125 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Mon, 19 Feb 2018 19:47:11 -0600 Subject: [PATCH] remove unused field from peer --- src/yggdrasil/peer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/yggdrasil/peer.go b/src/yggdrasil/peer.go index 297e613d..c122ab1c 100644 --- a/src/yggdrasil/peer.go +++ b/src/yggdrasil/peer.go @@ -73,7 +73,6 @@ type peer struct { // Specifically, processing switch messages, signing, and verifying sigs // Resets at the start of each tick throttle uint8 - lastSend time.Time // To throttle sends, use only from linkLoop goroutine } const peer_Throttle = 1 @@ -158,7 +157,6 @@ func (p *peer) linkLoop(in <-chan []byte) { if p.msgAnc != nil { lastRSeq = p.msgAnc.seq } - p.lastSend = time.Now() p.sendSwitchAnnounce() } counter = (counter + 1) % 4