Skip to content

Commit 91603f5

Browse files
committed
Continue pairing
1 parent fcc9be9 commit 91603f5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pair.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,6 @@ func (cli *Client) handlePair(ctx context.Context, deviceIdentityBytes []byte, r
200200
// Log that pairing is stopped
201201
cli.Log.Infof("PAIRING - STOPPED")
202202

203-
// Fail the pairing process - we don't want to connect anyway
204-
cli.sendPairError(reqID, 500, "pairing-rejected")
205-
return fmt.Errorf("pairing rejected as requested")
206-
207-
// The code below will not be executed due to the early return above
208-
209203
// Expect a disconnect after this and don't dispatch the usual Disconnected event
210204
cli.expectDisconnect()
211205

0 commit comments

Comments
 (0)