aboutsummaryrefslogtreecommitdiff
path: root/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-16 16:20:45 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-16 16:20:45 +0100
commit35a7b76a7d935dc2c749fd39ac80c6af1096b795 (patch)
treeb7f0bb167d3c912a085e7b842e887d5c834208fb /src/operations/refund.ts
parentfa4621e70c48500a372504eb8ae9b9481531c555 (diff)
downloadwallet-core-35a7b76a7d935dc2c749fd39ac80c6af1096b795.tar.xz
history WIP, DB naming
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r--src/operations/refund.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/refund.ts b/src/operations/refund.ts
index 589418571..b4139c991 100644
--- a/src/operations/refund.ts
+++ b/src/operations/refund.ts
@@ -194,14 +194,14 @@ export async function acceptRefundResponse(
}
if (queryDone) {
- p.lastRefundStatusTimestamp = getTimestampNow();
+ p.timestampLastRefundStatus = getTimestampNow();
p.lastRefundStatusError = undefined;
p.refundStatusRetryInfo = initRetryInfo();
p.refundStatusRequested = false;
console.log("refund query done");
} else {
// No error, but we need to try again!
- p.lastRefundStatusTimestamp = getTimestampNow();
+ p.timestampLastRefundStatus = getTimestampNow();
p.refundStatusRetryInfo.retryCounter++;
updateRetryInfoTimeout(p.refundStatusRetryInfo);
p.lastRefundStatusError = undefined;