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 acf375c commit 3fe8a56Copy full SHA for 3fe8a56
test/TrustedPeersTest.cs
@@ -31,13 +31,18 @@ public void Trusted_Peers_Add_Remove()
31
Assert.IsFalse(ipfs.TrustedPeers.Contains(newTrustedPeer));
32
}
33
34
+ // js-ipfs does NOT check IPFS addresses.
35
+ // And this bad addr eventually breaks the server.
36
+ // https://github.com/ipfs/js-ipfs/issues/1066
37
+#if false
38
[TestMethod]
39
public void Trusted_Peers_Add_Missing_Peer_ID()
40
{
41
var missingPeerId = new MultiAddress("/ip4/25.196.147.100/tcp/4001");
42
var ipfs = TestFixture.Ipfs;
43
ExceptionAssert.Throws<Exception>(() => ipfs.TrustedPeers.Add(missingPeerId), "invalid IPFS address");
44
45
+#endif
46
47
48
public void Trusted_Peers_Clear()
0 commit comments