diff options
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/operations/tip.ts | 6 |
1 files changed, 1 insertions, 5 deletions
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), |