aboutsummaryrefslogtreecommitdiff
path: root/src/dbTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-03 01:33:25 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-03 01:36:06 +0100
commit8683c93613caa4047c4fd874aefb0b7d35fdc038 (patch)
treed8cbdab473e9f53119db4590f6543a5f0f8a39f8 /src/dbTypes.ts
parentc33dd75711a39403bd4dd9940caab6d5e6ad2d77 (diff)
downloadwallet-core-8683c93613caa4047c4fd874aefb0b7d35fdc038.tar.xz
version bump / pending balance tweaks
Diffstat (limited to 'src/dbTypes.ts')
-rw-r--r--src/dbTypes.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/dbTypes.ts b/src/dbTypes.ts
index 4f374c260..66c4fa8b9 100644
--- a/src/dbTypes.ts
+++ b/src/dbTypes.ts
@@ -44,7 +44,7 @@ import { Timestamp, OperationError } from "./walletTypes";
* In the future we might consider adding migration functions for
* each version increment.
*/
-export const WALLET_DB_VERSION = 27;
+export const WALLET_DB_VERSION = 28;
export enum ReserveRecordStatus {
/**
@@ -1045,11 +1045,12 @@ export interface WithdrawalSessionRecord {
*/
finishTimestamp?: Timestamp;
+ totalCoinValue: AmountJson;
+
/**
- * Amount that is being withdrawn with this operation.
- * This does not include fees.
+ * Amount including fees.
*/
- withdrawalAmount: string;
+ rawWithdrawalAmount: AmountJson;
denoms: string[];