summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/transactions.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-08 20:45:33 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-08 20:45:33 +0530
commitddbb09b1403214cff3e5a598dc51bdf37df72971 (patch)
tree0238eb77bbfb623e98b9660e1eac53c88a74e66f /packages/taler-wallet-core/src/operations/transactions.ts
parentf79d10eea291acba42dd27e5900d2128a1242daa (diff)
downloadwallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.tar.gz
wallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.tar.bz2
wallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.zip
DB tweaks
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 54d4d5574..5bc4ebace 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -238,7 +238,7 @@ export async function getTransactions(
transactions.push({
type: TransactionType.Payment,
amountRaw: Amounts.stringify(pr.contractData.amount),
- amountEffective: Amounts.stringify(pr.payCostInfo.totalCost),
+ amountEffective: Amounts.stringify(pr.totalPayCost),
status: pr.timestampFirstSuccessfulPay
? PaymentStatus.Paid
: PaymentStatus.Accepted,