remove some redundancy

This commit is contained in:
Florian Dold 2020-12-07 23:13:55 +01:00
parent 105898bf6e
commit d3cc20b6cc
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -401,24 +401,14 @@ export enum BackupRefreshReason {
} }
/** /**
* Planchet for a coin during refrehs. * Planchet for a coin during refresh.
*/ */
export interface BackupRefreshPlanchet { export interface BackupRefreshPlanchet {
/**
* Public key for the coin.
*/
public_key: string;
/** /**
* Private key for the coin. * Private key for the coin.
*/ */
private_key: string; private_key: string;
/**
* Blinded public key.
*/
coin_ev: string;
/** /**
* Blinding key used. * Blinding key used.
*/ */
@ -564,19 +554,7 @@ export interface BackupWithdrawalGroup {
*/ */
planchets: { planchets: {
blinding_key: string; blinding_key: string;
coin_pub: string; coin_priv: string;
/**
* Blinded coin public key.
*/
coin_ev: string;
/**
* Hashed blinded coin public key.
*
* (Stored here for easy reserve history merging.)
*/
coin_ev_hash: string;
}[]; }[];
} }