File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,12 +97,7 @@ public SwarmApi(IpfsEngine ipfs)
9797 var strings = addrs . Select ( a => a . ToString ( ) ) ;
9898 await ipfs . Config . SetAsync ( "Swarm.AddrFilters" , JToken . FromObject ( strings ) , cancel ) . ConfigureAwait ( false ) ;
9999
100- var bag = new WhiteList < MultiAddress > ( ) ;
101- foreach ( var a in addrs )
102- {
103- bag . Add ( a ) ;
104- }
105- ( await ipfs . SwarmService . ConfigureAwait ( false ) ) . WhiteList = bag ;
100+ ( await ipfs . SwarmService . ConfigureAwait ( false ) ) . WhiteList . Remove ( address ) ;
106101
107102 return address ;
108103 }
Original file line number Diff line number Diff line change 5050 </PropertyGroup >
5151
5252 <ItemGroup >
53- <PackageReference Include =" Ipfs.Core" Version =" 0.53.1 " />
53+ <PackageReference Include =" Ipfs.Core" Version =" 0.54.0 " />
5454 <PackageReference Include =" Makaretu.Dns.Unicast" Version =" 0.11.1" />
5555 <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.2" />
5656 <PackageReference Include =" Nito.AsyncEx.Coordination" Version =" 5.0.0" />
57- <PackageReference Include =" PeerTalk" Version =" 0.15 .0" />
57+ <PackageReference Include =" PeerTalk" Version =" 0.16 .0" />
5858 <PackageReference Include =" PeterO.Cbor" Version =" 3.1.0" />
5959 <PackageReference Include =" Portable.BouncyCastle" Version =" 1.8.5" />
6060 <PackageReference Include =" protobuf-net" Version =" 2.4.0" />
You can’t perform that action at this time.
0 commit comments