diff options
author | Florian Dold <florian@dold.me> | 2022-04-18 22:00:26 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-04-18 22:00:26 +0200 |
commit | 3c68b2d77645803d319e7dff353cf44cdc440847 (patch) | |
tree | 3a3e90c980c009527fcf137503a98001c774acf1 /packages | |
parent | 2e0b9b9cff43968a16eb9555cb6e128c979a604b (diff) |
wallet-core: fix loop index
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 66bfd6b91..d4ca58401 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -1036,7 +1036,7 @@ export async function getExchangeWithdrawalInfo( ); let earliestDepositExpiration: TalerProtocolTimestamp | undefined; - for (let i = 1; i < selectedDenoms.selectedDenoms.length; i++) { + for (let i = 0; i < selectedDenoms.selectedDenoms.length; i++) { const ds = selectedDenoms.selectedDenoms[i]; // FIXME: Do in one transaction! const denom = await ws.db |