Skip to content

Commit f5576ba

Browse files
josharianzx2c4
authored andcommitted
device: remove unnecessary zeroing
Signed-off-by: Josh Bleecher Snyder <[email protected]>
1 parent 00fbed0 commit f5576ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

device/peer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ func (device *Device) NewPeer(pk NoisePublicKey) (*Peer, error) {
102102

103103
peer.cookieGenerator.Init(pk)
104104
peer.device = device
105-
peer.isRunning.Set(false)
106105

107106
// map public key
108107

0 commit comments

Comments
 (0)