diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-08 20:45:33 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-08 20:45:33 +0530 |
commit | ddbb09b1403214cff3e5a598dc51bdf37df72971 (patch) | |
tree | 0238eb77bbfb623e98b9660e1eac53c88a74e66f /packages/taler-wallet-core/src/operations/transactions.ts | |
parent | f79d10eea291acba42dd27e5900d2128a1242daa (diff) | |
download | wallet-core-ddbb09b1403214cff3e5a598dc51bdf37df72971.tar.xz |
DB tweaks
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 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, |