gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix build, tipAmountEffective


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix build, tipAmountEffective = selectedDemons.totalCoinValue
Date: Mon, 28 Mar 2022 19:51:26 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new e5f21ec5 fix build, tipAmountEffective = selectedDemons.totalCoinValue
e5f21ec5 is described below

commit e5f21ec5bbcb74028c7e49521b19af9437489190
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Mar 28 14:51:17 2022 -0300

    fix build, tipAmountEffective = selectedDemons.totalCoinValue
---
 packages/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
index cd29f8a8..9582f18e 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),

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]