remove unnecessary prints

This commit is contained in:
sneurlax 2023-01-20 22:49:14 -06:00
parent 824b3bb9a7
commit 290087c2d5

View file

@ -123,10 +123,7 @@ class SimplexAPI {
List<Crypto> cryptos = [];
List<Fiat> fiats = [];
print(jsonArray);
for (final fiat in jsonArray as List) {
print(fiat);
fiats.add(Fiat.fromJson({
'ticker': "${fiat['ticker_symbol']}",
'name': "${fiat['ticker_symbol']}",
@ -244,7 +241,7 @@ class SimplexAPI {
throw Exception('newOrder exception: statusCode= ${res.statusCode}');
}
final jsonArray = jsonDecode(res.body); // TODO check if valid json
print(jsonArray);
SimplexOrder _order = SimplexOrder(
quote: quote,
paymentId: "${jsonArray['paymentId']}",
@ -272,8 +269,6 @@ class SimplexAPI {
mode: LaunchMode.externalApplication,
);
print(status);
return BuyResponse(value: status);
} catch (e, s) {
Logging.instance.log("newOrder exception: $e\n$s", level: LogLevel.Error);