From b8a11e69f59fd44c4746f3d84061092d76e1d9d4 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 24 Feb 2023 03:49:03 +0100 Subject: wallet-core: really report estimatedAmountEffective in PeerPullCredit --- packages/taler-wallet-core/src/operations/transactions.ts | 2 +- 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 index 54fe1320d..3e396098e 100644 --- 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, -- cgit v1.2.3