diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-21 12:14:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-21 12:14:06 -0300 |
commit | f4b92578b0dd08ccd0b7a31b9da318ba661ae3ec (patch) | |
tree | 6d2b1b09497b3c27571804d0615e7df11a3bb1fa /packages/taler-wallet-core/src/operations/pay-merchant.ts | |
parent | 98a9e79652bdf32a3fade54d6392528840a8db23 (diff) | |
download | wallet-core-f4b92578b0dd08ccd0b7a31b9da318ba661ae3ec.tar.xz |
fix: support for empty denom_selection when recoverying from backup
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-merchant.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-merchant.ts | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-merchant.ts b/packages/taler-wallet-core/src/operations/pay-merchant.ts index 70ca0981f..b085e3f53 100644 --- a/packages/taler-wallet-core/src/operations/pay-merchant.ts +++ b/packages/taler-wallet-core/src/operations/pay-merchant.ts @@ -891,17 +891,10 @@ async function unblockBackup( await tx.backupProviders.indexes.byPaymentProposalId .iter(proposalId) .forEachAsync(async (bp) => { - // if (bp.state.tag === BackupProviderStateTag.Retrying) { bp.state = { tag: BackupProviderStateTag.Ready, - nextBackupTimestamp: AbsoluteTime.toTimestamp( - AbsoluteTime.addDuration( - AbsoluteTime.now(), - Duration.fromSpec({ days: 7 }), - ), - ), + nextBackupTimestamp: TalerProtocolTimestamp.now(), }; - // } tx.backupProviders.put(bp); }); }); |