summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-24 03:49:03 +0100
committerFlorian Dold <florian@dold.me>2023-02-24 03:49:13 +0100
commitb8a11e69f59fd44c4746f3d84061092d76e1d9d4 (patch)
tree517fb62862ff312a3ea8ed5c9605c0f0c959963f
parent4b9c65a22e72717df285250edad7a7374b58faac (diff)
downloadwallet-core-b8a11e69f59fd44c4746f3d84061092d76e1d9d4.tar.gz
wallet-core-b8a11e69f59fd44c4746f3d84061092d76e1d9d4.tar.bz2
wallet-core-b8a11e69f59fd44c4746f3d84061092d76e1d9d4.zip
wallet-core: really report estimatedAmountEffective in PeerPullCredit
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts2
1 files changed, 1 insertions, 1 deletions
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,