[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: fix: effective amount is high
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: fix: effective amount is higher that raw amount in transfer |
Date: |
Fri, 20 Jan 2023 13:59:30 +0100 |
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 81dda3b6b fix: effective amount is higher that raw amount in transfer
81dda3b6b is described below
commit 81dda3b6b1500ed11b6ae539ce52a6c7e9a58951
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Jan 20 09:59:20 2023 -0300
fix: effective amount is higher that raw amount in transfer
---
packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 397972636..c9e7bbe85 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -1285,7 +1285,7 @@ export function InvoiceDetails({ amount }: { amount:
AmountWithFee }): VNode {
export function TransferDetails({ amount }: { amount: AmountWithFee }): VNode {
const { i18n } = useTranslationContext();
- const fee = Amounts.sub(amount.raw, amount.effective).amount;
+ const fee = Amounts.sub(amount.effective, amount.raw).amount;
const maxFrac = [amount.raw, amount.effective, fee]
.map((a) => Amounts.maxFractionalDigits(a))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: fix: effective amount is higher that raw amount in transfer,
gnunet <=