From 12156065c3106fd062b08b903b294e7296c14550 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 27 Sep 2021 14:50:42 -0700 Subject: [PATCH] Upgrade Logging --- go.mod | 2 +- networks/tor/BaseOnionService.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 91690cc..f6204f5 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/networks/tor/BaseOnionService.go b/networks/tor/BaseOnionService.go index f1930f2..b412ab2 100644 --- a/networks/tor/BaseOnionService.go +++ b/networks/tor/BaseOnionService.go @@ -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 {