@@ -36,7 +36,7 @@ use crate::{
36
36
dns:: DnsDiscovery , pkarr:: PkarrPublisher , ConcurrentDiscovery , Discovery , DiscoveryTask ,
37
37
} ,
38
38
dns:: { default_resolver, DnsResolver } ,
39
- magicsock:: { self , Handle , QuicMappedAddr } ,
39
+ magicsock:: { self , Handle , NodeIdMappedAddr } ,
40
40
tls,
41
41
watchable:: Watcher ,
42
42
} ;
@@ -536,7 +536,6 @@ impl Endpoint {
536
536
async fn bind ( static_config : StaticConfig , msock_opts : magicsock:: Options ) -> Result < Self > {
537
537
let msock = magicsock:: MagicSock :: spawn ( msock_opts) . await ?;
538
538
trace ! ( "created magicsock" ) ;
539
- trace ! ( "created quinn endpoint" ) ;
540
539
debug ! ( version = env!( "CARGO_PKG_VERSION" ) , "iroh Endpoint created" ) ;
541
540
let ep = Self {
542
541
msock : msock. clone ( ) ,
@@ -637,7 +636,7 @@ impl Endpoint {
637
636
& self ,
638
637
node_id : NodeId ,
639
638
alpn : & [ u8 ] ,
640
- addr : QuicMappedAddr ,
639
+ addr : NodeIdMappedAddr ,
641
640
) -> Result < Connection > {
642
641
debug ! ( "Attempting connection..." ) ;
643
642
let client_config = {
@@ -1004,7 +1003,7 @@ impl Endpoint {
1004
1003
async fn get_mapping_addr_and_maybe_start_discovery (
1005
1004
& self ,
1006
1005
node_addr : NodeAddr ,
1007
- ) -> Result < ( QuicMappedAddr , Option < DiscoveryTask > ) > {
1006
+ ) -> Result < ( NodeIdMappedAddr , Option < DiscoveryTask > ) > {
1008
1007
let node_id = node_addr. node_id ;
1009
1008
1010
1009
// Only return a mapped addr if we have some way of dialing this node, in other
0 commit comments