mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
remove unnecessary prints
This commit is contained in:
parent
824b3bb9a7
commit
290087c2d5
1 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue