From e5f21ec5bbcb74028c7e49521b19af9437489190 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 28 Mar 2022 14:51:17 -0300 Subject: fix build, tipAmountEffective = selectedDemons.totalCoinValue --- packages/taler-wallet-core/src/operations/tip.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'packages') diff --git a/packages/taler-wallet-core/src/operations/tip.ts b/packages/taler-wallet-core/src/operations/tip.ts index cd29f8a86..9582f18e8 100644 --- a/packages/taler-wallet-core/src/operations/tip.ts +++ b/packages/taler-wallet-core/src/operations/tip.ts @@ -126,11 +126,7 @@ export async function prepareTip( merchantBaseUrl: res.merchantBaseUrl, createdTimestamp: TalerProtocolTimestamp.now(), merchantTipId: res.merchantTipId, - tipAmountEffective: Amounts.sub( - amount, - Amounts.add(withdrawDetails.overhead, withdrawDetails.withdrawFee) - .amount, - ).amount, + tipAmountEffective: selectedDenoms.totalCoinValue, retryInfo: initRetryInfo(), lastError: undefined, denomsSel: denomSelectionInfoToState(selectedDenoms), -- cgit v1.2.3