Skip to content

Commit

Permalink
use named params to avoid mixups
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Mar 25, 2022
1 parent a2e0e43 commit 80ebaf2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/chia-dotnet/TradeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ public TradeManager(WalletProxy walletProxy)
public async Task<IEnumerable<OfferRecord>> GetOffers(bool excludeMyOffers = false, bool excludeTakenOffers = false, bool includeCompleted = false, string? sortKey = null, bool reverse = false, bool fileContents = false, CancellationToken cancellationToken = default)
{
var (Total, _, _) = await GetOffersCount(cancellationToken).ConfigureAwait(false);
return await GetOffers(0, Total, excludeMyOffers, excludeTakenOffers, includeCompleted, sortKey, reverse, fileContents, cancellationToken).ConfigureAwait(false);
return await GetOffers(0, Total,
excludeMyOffers: excludeMyOffers,
excludeTakenOffers: excludeTakenOffers,
includeCompleted: includeCompleted,
sortKey: sortKey,
reverse: reverse,
fileContents: fileContents,
cancellationToken: cancellationToken).ConfigureAwait(false);
}

/// <summary>
Expand Down

0 comments on commit 80ebaf2

Please sign in to comment.