wallet-core: fix loop index
This commit is contained in:
parent
2e0b9b9cff
commit
3c68b2d776
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user