From 9d660788521d93452aa767d86158889fd4870fd1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 10 Mar 2022 16:30:24 +0100 Subject: wallet-core: do not rely on reserve history for withdrawals --- packages/taler-wallet-core/src/db.ts | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'packages/taler-wallet-core/src/db.ts') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index ac28d0979..2e76ab523 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -597,9 +597,6 @@ export interface PlanchetRecord { denomPubHash: string; - // FIXME: maybe too redundant? - denomPub: DenominationPubKey; - blindingKey: string; withdrawSig: string; @@ -607,10 +604,6 @@ export interface PlanchetRecord { coinEv: CoinEnvelope; coinEvHash: string; - - coinValue: AmountJson; - - isFromTip: boolean; } /** @@ -685,11 +678,6 @@ export interface CoinRecord { */ coinPriv: string; - /** - * Key used by the exchange used to sign the coin. - */ - denomPub: DenominationPubKey; - /** * Hash of the public key that signs the coin. */ @@ -1378,6 +1366,8 @@ export interface WithdrawalGroupRecord { /** * When was the withdrawal operation completed? + * + * FIXME: We should probably drop this and introduce an OperationStatus field. */ timestampFinish?: Timestamp; -- cgit v1.2.3