libp2p / jvm-libp2p

a libp2p implementation for the JVM, written in Kotlin 🔥
https://libp2p.io
Apache License 2.0
260 stars 74 forks source link

null peerid on Connection address #331

Open ianopolous opened 11 months ago

ianopolous commented 11 months ago

I've got a ConnectionHandler for outgoing connections and if I call

connection.secureSession().getRemoteId()

I get a valid peerId

but calling connection.remoteAddress().getPeerId() returns null