aboutsummaryrefslogtreecommitdiff
path: root/src/dbTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-07 18:42:18 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-07 18:42:18 +0100
commit165486a11268ab3d8009506916cd22d233cd248b (patch)
treeb90db78eafd4eb12b84ea2e8f4dc0353a315ab7f /src/dbTypes.ts
parentd634626d7f3a179613a86eedb2f1c7a917ce65ba (diff)
downloadwallet-core-165486a11268ab3d8009506916cd22d233cd248b.tar.xz
auto-refund
Diffstat (limited to 'src/dbTypes.ts')
-rw-r--r--src/dbTypes.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dbTypes.ts b/src/dbTypes.ts
index 553040614..3ffade4e3 100644
--- a/src/dbTypes.ts
+++ b/src/dbTypes.ts
@@ -788,7 +788,7 @@ export interface TipRecord {
/**
* Timestamp, the tip can't be picked up anymore after this deadline.
*/
- deadline: number;
+ deadline: Timestamp;
/**
* The exchange that will sign our coins, chosen by the merchant.
@@ -1066,6 +1066,11 @@ export interface PurchaseRecord {
* Last error (or undefined) for querying the refund status with the merchant.
*/
lastRefundApplyError: OperationError | undefined;
+
+ /**
+ * Continue querying the refund status until this deadline has expired.
+ */
+ autoRefundDeadline: Timestamp | undefined;
}
/**