diff options
author | Florian Dold <florian@dold.me> | 2023-02-23 16:07:14 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-23 16:07:14 +0100 |
commit | 582b6ae5f4139cd1be8096dd59371430455bbeef (patch) | |
tree | be4a0f36e05726950f929e7a73b51cd1d3339b9a /packages/taler-wallet-core/src/operations/transactions.ts | |
parent | dd9e4555baf3b98478e9ad2b0edf81ea81add5e2 (diff) | |
download | wallet-core-582b6ae5f4139cd1be8096dd59371430455bbeef.tar.xz |
wallet-core: report correct amountEffective in peer-pull-credit even before withdrawal is active
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 2 |
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 764115cef..54fe1320d 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(peerContractTerms.amount), + amountEffective: Amounts.stringify(pullCredit.amount), amountRaw: Amounts.stringify(peerContractTerms.amount), exchangeBaseUrl: pullCredit.exchangeBaseUrl, extendedStatus: ExtendedStatus.Pending, |