Skip to content

Commit

Permalink
remove unneed success check
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Mar 25, 2022
1 parent 10fc4f7 commit d24fb46
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/chia-dotnet/TradeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ public async Task<IEnumerable<OfferRecord>> 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<TradeRecord[]>((rTemp.trade_records as object).ToJson());
var offers = Converters.ToObject<string[]>((rTemp.offers as object).ToJson());

Expand Down

0 comments on commit d24fb46

Please sign in to comment.