Skip to content

Commit

Permalink
3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Mar 8, 2024
1 parent ac324e9 commit 30ba69c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/chia-dotnet.tests/Core/ChiaDotNetFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public ChiaDotNetFixture()
//connect wss client
wssClient.Connect(cts.Token).ConfigureAwait(false).GetAwaiter().GetResult();
var daemon = new DaemonProxy(wssClient, OriginService);
daemon.RegisterService(cts.Token).ConfigureAwait(false).GetAwaiter().GetResult(); ;
daemon.RegisterService(cts.Token).ConfigureAwait(false).GetAwaiter().GetResult();
//proxies
var nodeRpcClient = new FullNodeProxy(wssClient, OriginService);
Expand Down
5 changes: 3 additions & 2 deletions src/chia-dotnet/TradeManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Collections;

Check warning on line 2 in src/chia-dotnet/TradeManager.cs

View workflow job for this annotation

GitHub Actions / build

Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
Expand Down Expand Up @@ -91,9 +92,9 @@ public async Task<IEnumerable<OfferRecord>> GetOffers(bool excludeMyOffers = fal

// need to explicitly declare these two types to cast away any dynamic-ness
TradeRecord[] tradeRecords = Converters.ToObject<TradeRecord[]>(response.trade_records);
if (response.offers is not null)
string[] offers = Converters.ToObject<string[]>(response.offers);
if (offers is not null)
{
string[] offers = Converters.ToObject<string[]>(response.offers);

var zipped = offers.Zip(tradeRecords);

Expand Down
2 changes: 1 addition & 1 deletion src/chia-dotnet/chia-dotnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.3.0</Version>
<Version>3.3.2</Version>
<Authors>dkackman</Authors>
<Company>dkackman</Company>
<Description>A .net client library for chia™ RPC interfaces that runs on linux and windows.</Description>
Expand Down

0 comments on commit 30ba69c

Please sign in to comment.