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 6b2eeda commit 9f27ebcCopy full SHA for 9f27ebc
Sources/Multiaddr/Multiaddr.swift
@@ -111,7 +111,7 @@ public struct Multiaddr: Equatable {
111
addresses.popLast()
112
}
113
114
- /// Extracts a PeerID from the Multiaddress if one exists, otherwise returns nil
+ /// Extracts a PeerID's String representation from the Multiaddress if one exists, otherwise returns nil
115
public func getPeerIDString() -> String? {
116
self.addresses.last(where: {
117
($0.addrProtocol == .p2p || $0.addrProtocol == .ipfs)
0 commit comments