nervosnetwork / tentacle

A multiplexed p2p network framework that supports custom protocols

Home Page:https://docs.rs/tentacle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A `remote_addr` may can not convert to SocketAddr cause discovery panic

TheWaWaR opened this issue · comments

// substream.rs
addr_known.insert(RawAddr::from(
     multiaddr_to_socketaddr(&substream.remote_addr).unwrap(),
));

Can not reproduce, waiting for reproduce in the future.