diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-16 16:20:45 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-16 16:20:45 +0100 |
commit | 35a7b76a7d935dc2c749fd39ac80c6af1096b795 (patch) | |
tree | b7f0bb167d3c912a085e7b842e887d5c834208fb /src/operations/pending.ts | |
parent | fa4621e70c48500a372504eb8ae9b9481531c555 (diff) |
history WIP, DB naming
Diffstat (limited to 'src/operations/pending.ts')
-rw-r--r-- | src/operations/pending.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/operations/pending.ts b/src/operations/pending.ts index 252c9e98a..ffa23f101 100644 --- a/src/operations/pending.ts +++ b/src/operations/pending.ts @@ -158,7 +158,7 @@ async function gatherReservePending( type: PendingOperationType.Reserve, givesLifeness: false, stage: reserve.reserveStatus, - timestampCreated: reserve.created, + timestampCreated: reserve.timestampCreated, reserveType, reservePub: reserve.reservePub, retryInfo: reserve.retryInfo, @@ -180,7 +180,7 @@ async function gatherReservePending( type: PendingOperationType.Reserve, givesLifeness: true, stage: reserve.reserveStatus, - timestampCreated: reserve.created, + timestampCreated: reserve.timestampCreated, reserveType, reservePub: reserve.reservePub, retryInfo: reserve.retryInfo, @@ -208,7 +208,7 @@ async function gatherRefreshPending( onlyDue: boolean = false, ): Promise<void> { await tx.iter(Stores.refreshGroups).forEach(r => { - if (r.finishedTimestamp) { + if (r.timestampFinished) { return; } resp.nextRetryDelay = updateRetryDelay( @@ -235,7 +235,7 @@ async function gatherWithdrawalPending( onlyDue: boolean = false, ): Promise<void> { await tx.iter(Stores.withdrawalSession).forEach(wsr => { - if (wsr.finishTimestamp) { + if (wsr.timestampFinish) { return; } resp.nextRetryDelay = updateRetryDelay( |