Skip to content

Commit 9f27ebc

Browse files
committed
More accurate documentation
1 parent 6b2eeda commit 9f27ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Multiaddr/Multiaddr.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public struct Multiaddr: Equatable {
111111
addresses.popLast()
112112
}
113113

114-
/// Extracts a PeerID from the Multiaddress if one exists, otherwise returns nil
114+
/// Extracts a PeerID's String representation from the Multiaddress if one exists, otherwise returns nil
115115
public func getPeerIDString() -> String? {
116116
self.addresses.last(where: {
117117
($0.addrProtocol == .p2p || $0.addrProtocol == .ipfs)

0 commit comments

Comments
 (0)