Upgrade Logging
This commit is contained in:
parent
f1fe281ab4
commit
12156065c3
2
go.mod
2
go.mod
|
@ -2,7 +2,7 @@ module git.openprivacy.ca/cwtch.im/tapir
|
||||||
|
|
||||||
require (
|
require (
|
||||||
git.openprivacy.ca/openprivacy/connectivity v1.4.5
|
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/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/gtank/merlin v0.1.1
|
github.com/gtank/merlin v0.1.1
|
||||||
github.com/gtank/ristretto255 v0.1.2
|
github.com/gtank/ristretto255 v0.1.2
|
||||||
|
|
|
@ -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
|
// 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) {
|
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
|
// We already have a connection
|
||||||
if currconn != nil {
|
if currconn != nil {
|
||||||
|
|
Loading…
Reference in New Issue