show withdrawal transaction continuously
This commit is contained in:
parent
87f9e7b1e3
commit
59178331a4
@ -166,14 +166,9 @@ export async function getTransactions(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (transactionsRequest?.search)
|
|
||||||
if (wsr.rawWithdrawalAmount.currency)
|
|
||||||
if (wsr.timestampFinish) {
|
|
||||||
transactions.push({
|
transactions.push({
|
||||||
type: TransactionType.Withdrawal,
|
type: TransactionType.Withdrawal,
|
||||||
amountEffective: Amounts.stringify(
|
amountEffective: Amounts.stringify(wsr.denomsSel.totalCoinValue),
|
||||||
wsr.denomsSel.totalCoinValue,
|
|
||||||
),
|
|
||||||
amountRaw: Amounts.stringify(wsr.denomsSel.totalWithdrawCost),
|
amountRaw: Amounts.stringify(wsr.denomsSel.totalWithdrawCost),
|
||||||
confirmed: true,
|
confirmed: true,
|
||||||
exchangeBaseUrl: wsr.exchangeBaseUrl,
|
exchangeBaseUrl: wsr.exchangeBaseUrl,
|
||||||
@ -184,7 +179,6 @@ export async function getTransactions(
|
|||||||
wsr.withdrawalGroupId,
|
wsr.withdrawalGroupId,
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
tx.iter(Stores.reserves).forEach((r) => {
|
tx.iter(Stores.reserves).forEach((r) => {
|
||||||
@ -194,7 +188,12 @@ export async function getTransactions(
|
|||||||
if (shouldSkipSearch(transactionsRequest, [])) {
|
if (shouldSkipSearch(transactionsRequest, [])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (r.reserveStatus !== ReserveRecordStatus.WAIT_CONFIRM_BANK) {
|
switch (r.reserveStatus) {
|
||||||
|
case ReserveRecordStatus.WAIT_CONFIRM_BANK:
|
||||||
|
break;
|
||||||
|
case ReserveRecordStatus.WITHDRAWING:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!r.bankInfo) {
|
if (!r.bankInfo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user