reset deposit lastError
This commit is contained in:
parent
f40593185a
commit
fb0f8043ea
@ -1685,7 +1685,7 @@ export interface DepositGroupRecord {
|
||||
/**
|
||||
* Retry info.
|
||||
*/
|
||||
retryInfo: RetryInfo;
|
||||
retryInfo?: RetryInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -255,6 +255,8 @@ async function processDepositGroupImpl(
|
||||
}
|
||||
if (allDeposited) {
|
||||
dg.timestampFinished = getTimestampNow();
|
||||
delete dg.lastError;
|
||||
delete dg.retryInfo;
|
||||
await tx.depositGroups.put(dg);
|
||||
}
|
||||
});
|
||||
|
@ -209,7 +209,7 @@ export interface PendingWithdrawTask {
|
||||
export interface PendingDepositTask {
|
||||
type: PendingTaskType.Deposit;
|
||||
lastError: TalerErrorDetails | undefined;
|
||||
retryInfo: RetryInfo;
|
||||
retryInfo: RetryInfo | undefined;
|
||||
depositGroupId: string;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user