From 80ebaf27926c259dd6ab51bf5076604ac018a94e Mon Sep 17 00:00:00 2001 From: Don Kackman Date: Thu, 24 Mar 2022 20:12:54 -0500 Subject: [PATCH] use named params to avoid mixups --- src/chia-dotnet/TradeManager.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/chia-dotnet/TradeManager.cs b/src/chia-dotnet/TradeManager.cs index 132b67bb..0d8fb7ec 100644 --- a/src/chia-dotnet/TradeManager.cs +++ b/src/chia-dotnet/TradeManager.cs @@ -49,7 +49,14 @@ public TradeManager(WalletProxy walletProxy) public async Task> 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); } ///