Closed songxiang93 closed 1 year ago
@ppt93 thanks for reporting of issue. We will take a look and get back to you as soon as possible.
@ppt93 the only parameter required here is the ID
, Addrs
is optional.
Connect method will:
Addrs
from AddrInfo
(if provided) to the Peerstore
Addrs
from the Peerstore
Addrs
is found it will try to run a find peers with the given discovery service (on a routed host only)Addrs
to connectAt this point, the pubsub discovery mechanism should already have added all the necessary Addrs
in the PeerStore
to successfully connect.
@gfanton I understand what you mean. That's right
@gfanton Thanks for follow up. Hope this helps @ppt93 :)
Closing this issue
oneonone/channel.go 74 line
peer.AddrInfo has 2 params.Only one param cause "argument "address" is required' bug。