mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
WIP majestic bank trade status fixes
This commit is contained in:
parent
755115b848
commit
196f377228
1 changed files with 5 additions and 0 deletions
|
@ -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()}");
|
||||
|
|
Loading…
Reference in a new issue