From d0f8e9477c14a1c92f84beb46cd17b91c56fae44 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Thu, 17 Dec 2020 15:20:35 -0800 Subject: device: remove unnecessary zeroing Signed-off-by: Josh Bleecher Snyder --- device/peer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/device/peer.go b/device/peer.go index ac85c94..96040e6 100644 --- a/device/peer.go +++ b/device/peer.go @@ -102,7 +102,6 @@ func (device *Device) NewPeer(pk NoisePublicKey) (*Peer, error) { peer.cookieGenerator.Init(pk) peer.device = device - peer.isRunning.Set(false) // map public key -- cgit v1.2.3