fix: silently abort early if we have no connections to make
This commit is contained in:
parent
5079db4f03
commit
dfeb8b29a8
|
@ -112,6 +112,10 @@ func (h HandshakeDone) HandleMessage(message IncomingMessageDataSigned) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if len(h.connectionUris) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
peer.SetConnectionURIs(h.connectionUris)
|
||||
|
||||
peerId, err := peer.Id().ToString()
|
||||
|
|
Loading…
Reference in New Issue