aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/transactions.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-13 02:24:19 +0100
committerFlorian Dold <florian@dold.me>2023-01-13 02:24:19 +0100
commita31b8c3c3105d0ba11f2a1c513c6b6bec3ebeb49 (patch)
treebeae1051da582dca7dc2b6e01b2dc997279f31e9 /packages/taler-wallet-core/src/operations/transactions.ts
parenta3f9e8680501a3090d88220bf5a09681604c4471 (diff)
downloadwallet-core-a31b8c3c3105d0ba11f2a1c513c6b6bec3ebeb49.tar.xz
wallet-core: store total p2p push cost in DB
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-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 43ee97239..80dc50eb8 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -346,7 +346,7 @@ function buildTransactionForPushPaymentDebit(
): Transaction {
return {
type: TransactionType.PeerPushDebit,
- amountEffective: pi.amount,
+ amountEffective: pi.totalCost,
amountRaw: pi.amount,
exchangeBaseUrl: pi.exchangeBaseUrl,
info: {