From 7cd4344a94e4ce82643204368ae3d6c806ee0ae9 Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Mon, 29 Mar 2021 19:42:45 +0000 Subject: [PATCH] Don't check if network is healthy before trying to add authentication channel --- api/authenticatedChannel.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/api/authenticatedChannel.go b/api/authenticatedChannel.go index 0debb583f..4e6e57b5a 100644 --- a/api/authenticatedChannel.go +++ b/api/authenticatedChannel.go @@ -28,11 +28,6 @@ func (c *Client) RequestAuthenticatedChannel(recipient, me contact.Contact, message string) error { jww.INFO.Printf("RequestAuthenticatedChannel(%s)", recipient.ID) - if !c.network.GetHealthTracker().IsHealthy() { - return errors.New("Cannot request authenticated channel " + - "creation when the network is not healthy") - } - return auth.RequestAuth(recipient, me, message, c.rng.GetStream(), c.storage, c.network) } -- GitLab