We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d03be2 commit 96264f1Copy full SHA for 96264f1
Sources/LibP2PWebSocket/LibP2PWebSocket.swift
@@ -93,7 +93,7 @@ public struct WebSocket: Transport {
93
channel: channel,
94
direction: .outbound,
95
remoteAddress: address,
96
- expectedRemotePeer: try? PeerID(cid: address.getPeerID() ?? "")
+ expectedRemotePeer: try? address.getPeerID()
97
)
98
99
/// The connection installs the necessary channel handlers here
0 commit comments