Skip to content

Commit 96264f1

Browse files
committed
Using the new getPeerID signature
1 parent 7d03be2 commit 96264f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LibP2PWebSocket/LibP2PWebSocket.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public struct WebSocket: Transport {
9393
channel: channel,
9494
direction: .outbound,
9595
remoteAddress: address,
96-
expectedRemotePeer: try? PeerID(cid: address.getPeerID() ?? "")
96+
expectedRemotePeer: try? address.getPeerID()
9797
)
9898

9999
/// The connection installs the necessary channel handlers here

0 commit comments

Comments
 (0)