Skip to content

Commit 8c7fa91

Browse files
authored
Merge pull request #3 from swift-libp2p/multiaddr-update
Multiaddr Update
2 parents f2a7cb2 + 7960f91 commit 8c7fa91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let package = Package(
3030
],
3131
dependencies: [
3232
// Dependencies declare other packages that this package depends on.
33-
.package(url: "https://github.com/swift-libp2p/swift-libp2p.git", .upToNextMinor(from: "0.1.0")),
33+
.package(url: "https://github.com/swift-libp2p/swift-libp2p.git", .upToNextMinor(from: "0.2.0")),
3434
.package(url: "https://github.com/apple/swift-nio.git", .upToNextMajor(from: "2.0.0")),
3535

3636
// Testing

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)