commit b8a11e69f59fd44c4746f3d84061092d76e1d9d4
parent 4b9c65a22e72717df285250edad7a7374b58faac
Author: Florian Dold <florian@dold.me>
Date: Fri, 24 Feb 2023 03:49:03 +0100
wallet-core: really report estimatedAmountEffective in PeerPullCredit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -542,7 +542,7 @@ function buildTransactionForPeerPullCredit(
return {
type: TransactionType.PeerPullCredit,
- amountEffective: Amounts.stringify(pullCredit.amount),
+ amountEffective: Amounts.stringify(pullCredit.estimatedAmountEffective),
amountRaw: Amounts.stringify(peerContractTerms.amount),
exchangeBaseUrl: pullCredit.exchangeBaseUrl,
extendedStatus: ExtendedStatus.Pending,