From d24fb463734c1ecff5a05efaf62a472ebd7e9dea Mon Sep 17 00:00:00 2001 From: Don Kackman Date: Thu, 24 Mar 2022 19:29:18 -0500 Subject: [PATCH] remove unneed success check --- src/chia-dotnet/TradeManager.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/chia-dotnet/TradeManager.cs b/src/chia-dotnet/TradeManager.cs index c37da29f..257c9aee 100644 --- a/src/chia-dotnet/TradeManager.cs +++ b/src/chia-dotnet/TradeManager.cs @@ -86,11 +86,6 @@ public async Task> GetOffers(int start, int end, bool e response.trade_records }; - if (!(bool)rTemp.success) - { - throw new ApplicationException($"response.success was false for get_all_offers. \r\ndata: {data} \r\nresponse: {response}"); - } - var tradeRecords = Converters.ToObject((rTemp.trade_records as object).ToJson()); var offers = Converters.ToObject((rTemp.offers as object).ToJson());