summaryrefslogtreecommitdiffhomepage
path: root/device/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/peer.go')
-rw-r--r--device/peer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/device/peer.go b/device/peer.go
index fe6de33..73e6083 100644
--- a/device/peer.go
+++ b/device/peer.go
@@ -125,6 +125,7 @@ func (device *Device) NewPeer(pk NoisePublicKey) (*Peer, error) {
// add
device.peers.keyMap[pk] = peer
+ device.peers.empty.Set(false)
// start peer