Refactor WaitForCapabilityOrClose #43

Merged
erinn merged 5 commits from wait into master 2021-09-27 22:09:35 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 12156065c3 - Show all commits

2
go.mod
View File

@ -2,7 +2,7 @@ module git.openprivacy.ca/cwtch.im/tapir
require (
git.openprivacy.ca/openprivacy/connectivity v1.4.5
git.openprivacy.ca/openprivacy/log v1.0.2
git.openprivacy.ca/openprivacy/log v1.0.3
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gtank/merlin v0.1.1
github.com/gtank/ristretto255 v0.1.2

View File

@ -186,7 +186,7 @@ func (s *BaseOnionService) GetConnection(hostname string) (tapir.Connection, err
// Connect initializes a new outbound connection to the given peer, using the defined Application
func (s *BaseOnionService) Connect(hostname string, app tapir.Application) (bool, error) {
currconn, err := s.GetConnection(hostname)
currconn,_ := s.GetConnection(hostname)
// We already have a connection
if currconn != nil {