taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit e5f21ec5bbcb74028c7e49521b19af9437489190
parent 1d85662946c393ea6985c178842be40d38fc687d
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 28 Mar 2022 14:51:17 -0300

fix build, tipAmountEffective = selectedDemons.totalCoinValue

Diffstat:
Mpackages/taler-wallet-core/src/operations/tip.ts | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 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),