diff options
-rw-r--r-- | device/noise-protocol.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/device/noise-protocol.go b/device/noise-protocol.go index dbb6f93..3ce7839 100644 --- a/device/noise-protocol.go +++ b/device/noise-protocol.go @@ -609,9 +609,6 @@ func (peer *Peer) BeginSymmetricSession() error { func (peer *Peer) ReceivedWithKeypair(receivedKeypair *Keypair) bool { keypairs := &peer.keypairs - if keypairs.next != receivedKeypair { - return false - } keypairs.Lock() defer keypairs.Unlock() if keypairs.next != receivedKeypair { |