diff options
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 0b7229cf3..d0095626a 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -63,7 +63,6 @@ import { codecForAcceptExchangeTosRequest, codecForAcceptManualWithdrawalRequet, codecForAcceptPeerPullPaymentRequest, - codecForAcceptTipRequest, codecForAddExchangeRequest, codecForAddGlobalCurrencyAuditorRequest, codecForAddGlobalCurrencyExchangeRequest, @@ -104,7 +103,6 @@ import { codecForPreparePeerPullPaymentRequest, codecForPreparePeerPushCreditRequest, codecForPrepareRefundRequest, - codecForPrepareRewardRequest, codecForPrepareWithdrawExchangeRequest, codecForRecoverStoredBackupRequest, codecForRemoveGlobalCurrencyAuditorRequest, @@ -249,9 +247,7 @@ import { processRefreshGroup, } from "./operations/refresh.js"; import { - acceptTipBackwardCompat, computeRewardTransactionStatus, - prepareReward, processTip, } from "./operations/reward.js"; import { @@ -383,12 +379,6 @@ export async function runPending(ws: InternalWalletState): Promise<void> { export interface RetryLoopOpts { /** - * Stop when the number of retries is exceeded for any pending - * operation. - */ - maxRetries?: number; - - /** * Stop the retry loop when all lifeness-giving pending operations * are done. * @@ -431,15 +421,6 @@ async function runTaskLoop( let minDue: AbsoluteTime = AbsoluteTime.never(); for (const p of pending.pendingOperations) { - const maxRetries = opts.maxRetries; - - if (maxRetries && p.retryInfo && p.retryInfo.retryCounter > maxRetries) { - retriesExceeded = true; - logger.warn( - `skipping, as ${maxRetries} retries are exceeded in an operation of type ${p.type}`, - ); - continue; - } if (p.givesLifeness) { numGivingLiveness++; } |