WIP majestic bank trade status fixes

This commit is contained in:
julian 2023-02-16 09:05:46 -06:00
parent 755115b848
commit 196f377228

View file

@ -117,6 +117,9 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
status = changeNowTransactionStatusFromStringIgnoreCase(statusString);
} on ArgumentError catch (_) {
status = ChangeNowTransactionStatus.Failed;
if (statusString == "Processing payment") {
status = ChangeNowTransactionStatus.Sending;
}
}
switch (status) {
@ -158,6 +161,8 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
trade.status == "failed");
//todo: check if print needed
// debugPrint("walletId: $walletId");
// debugPrint("transactionIfSentFromStack: $transactionIfSentFromStack");
// debugPrint("sentFromStack: $sentFromStack");
// debugPrint("hasTx: $hasTx");
// debugPrint("trade: ${trade.toString()}");