From b9e43e652e606706a81f39d4f888477580de79b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 8 Sep 2020 19:27:08 +0530 Subject: fix tipping and adjust DB --- packages/taler-wallet-core/src/types/walletTypes.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/taler-wallet-core/src/types/walletTypes.ts') diff --git a/packages/taler-wallet-core/src/types/walletTypes.ts b/packages/taler-wallet-core/src/types/walletTypes.ts index fb049caf9..c9014830b 100644 --- a/packages/taler-wallet-core/src/types/walletTypes.ts +++ b/packages/taler-wallet-core/src/types/walletTypes.ts @@ -359,8 +359,8 @@ export interface PrepareTipResult { * Has the tip already been accepted? */ accepted: boolean; - amount: AmountString; - totalFees: AmountString; + tipAmountRaw: AmountString; + tipAmountEffective: AmountString; exchangeBaseUrl: string; expirationTimestamp: Timestamp; } @@ -368,8 +368,8 @@ export interface PrepareTipResult { export const codecForPrepareTipResult = (): Codec => buildCodecForObject() .property("accepted", codecForBoolean()) - .property("amount", codecForAmountString()) - .property("totalFees", codecForAmountString()) + .property("tipAmountRaw", codecForAmountString()) + .property("tipAmountEffective", codecForAmountString()) .property("exchangeBaseUrl", codecForString()) .property("expirationTimestamp", codecForTimestamp) .property("walletTipId", codecForString()) -- cgit v1.2.3