Skip to content

Commit 6d4ef53

Browse files
fix(TrustedPeer): typo in collection name
1 parent f55b580 commit 6d4ef53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/IpfsClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public IpfsClient()
4444
ApiUri = DefaultApiUri;
4545
var version = Assembly.GetExecutingAssembly().GetName().Version;
4646
UserAgent = string.Format("net-ipfs/{0}.{1}", version.Major, version.Minor);
47-
TrustedPeers = new TruestedPeerCollection(this);
47+
TrustedPeers = new TrustedPeerCollection(this);
4848
PinnedObjects = new PinnedCollection(this);
4949
}
5050

@@ -82,7 +82,7 @@ public IpfsClient(string host)
8282
/// <remarks>
8383
/// This is equilivent to <c>ipfs bootstrap list</c>.
8484
/// </remarks>
85-
public TruestedPeerCollection TrustedPeers { get; private set; }
85+
public TrustedPeerCollection TrustedPeers { get; private set; }
8686

8787
/// <summary>
8888
/// The list of objects that are permanently stored on the local host.

src/TrustedPeerCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Ipfs.Api
2020
/// A series of <see cref="MultiAddress"/>. Each address ends with an IPNS node id, for
2121
/// example "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ".
2222
/// </returns>
23-
public class TruestedPeerCollection : ICollection<MultiAddress>
23+
public class TrustedPeerCollection : ICollection<MultiAddress>
2424
{
2525
class BootstrapListResponse
2626
{
@@ -30,7 +30,7 @@ class BootstrapListResponse
3030
IpfsClient ipfs;
3131
MultiAddress[] peers;
3232

33-
internal TruestedPeerCollection(IpfsClient ipfs)
33+
internal TrustedPeerCollection(IpfsClient ipfs)
3434
{
3535
this.ipfs = ipfs;
3636
}

0 commit comments

Comments
 (0)