diff options
Diffstat (limited to 'packages/taler-wallet-core/src/balance.ts')
-rw-r--r-- | packages/taler-wallet-core/src/balance.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/balance.ts b/packages/taler-wallet-core/src/balance.ts index e4783350c..b2ba7b95d 100644 --- a/packages/taler-wallet-core/src/balance.ts +++ b/packages/taler-wallet-core/src/balance.ts @@ -376,7 +376,6 @@ export async function getBalancesInsideTransaction( case WithdrawalGroupStatus.SuspendedKyc: case WithdrawalGroupStatus.PendingKyc: { checkDbInvariant(wg.denomsSel !== undefined, "wg in kyc state should have been initialized") - checkDbInvariant(wg.exchangeBaseUrl !== undefined, "wg in kyc state should have been initialized") const currency = Amounts.currencyOf(wg.denomsSel.totalCoinValue); await balanceStore.setFlagIncomingKyc(currency, wg.exchangeBaseUrl); break; @@ -384,7 +383,6 @@ export async function getBalancesInsideTransaction( case WithdrawalGroupStatus.PendingAml: case WithdrawalGroupStatus.SuspendedAml: { checkDbInvariant(wg.denomsSel !== undefined, "wg in aml state should have been initialized") - checkDbInvariant(wg.exchangeBaseUrl !== undefined, "wg in aml state should have been initialized") const currency = Amounts.currencyOf(wg.denomsSel.totalCoinValue); await balanceStore.setFlagIncomingAml(currency, wg.exchangeBaseUrl); break; @@ -401,7 +399,6 @@ export async function getBalancesInsideTransaction( } case WithdrawalGroupStatus.PendingWaitConfirmBank: { checkDbInvariant(wg.denomsSel !== undefined, "wg in confirmed state should have been initialized") - checkDbInvariant(wg.exchangeBaseUrl !== undefined, "wg in confirmed state should have been initialized") const currency = Amounts.currencyOf(wg.denomsSel.totalCoinValue); await balanceStore.setFlagIncomingConfirmation( currency, |