aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2020-12-07 23:13:55 +0100
committerFlorian Dold <florian@dold.me>2020-12-07 23:13:55 +0100
commitd3cc20b6ccc2b7c0b47e71cd31d3bcd2405cf7e0 (patch)
tree3261daebb57683dd6b1960de11c1c8a5b59cfaa9
parent105898bf6ee7fdbe541c7a2a4028d298b968afd1 (diff)
remove some redundancy
-rw-r--r--packages/taler-wallet-core/src/types/backupTypes.ts26
1 files changed, 2 insertions, 24 deletions
diff --git a/packages/taler-wallet-core/src/types/backupTypes.ts b/packages/taler-wallet-core/src/types/backupTypes.ts
index 9d97fc30f..6e65cd72a 100644
--- a/packages/taler-wallet-core/src/types/backupTypes.ts
+++ b/packages/taler-wallet-core/src/types/backupTypes.ts
@@ -401,25 +401,15 @@ export enum BackupRefreshReason {
}
/**
- * Planchet for a coin during refrehs.
+ * Planchet for a coin during refresh.
*/
export interface BackupRefreshPlanchet {
/**
- * Public key for the coin.
- */
- public_key: string;
-
- /**
* Private key for the coin.
*/
private_key: string;
/**
- * Blinded public key.
- */
- coin_ev: string;
-
- /**
* Blinding key used.
*/
blinding_key: string;
@@ -564,19 +554,7 @@ export interface BackupWithdrawalGroup {
*/
planchets: {
blinding_key: string;
- coin_pub: string;
-
- /**
- * Blinded coin public key.
- */
- coin_ev: string;
-
- /**
- * Hashed blinded coin public key.
- *
- * (Stored here for easy reserve history merging.)
- */
- coin_ev_hash: string;
+ coin_priv: string;
}[];
}