diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-07 18:42:18 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-07 18:42:18 +0100 |
commit | 165486a11268ab3d8009506916cd22d233cd248b (patch) | |
tree | b90db78eafd4eb12b84ea2e8f4dc0353a315ab7f /src/dbTypes.ts | |
parent | d634626d7f3a179613a86eedb2f1c7a917ce65ba (diff) | |
download | wallet-core-165486a11268ab3d8009506916cd22d233cd248b.tar.xz |
auto-refund
Diffstat (limited to 'src/dbTypes.ts')
-rw-r--r-- | src/dbTypes.ts | 7 |
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; } /** |