diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-05-12 16:04:28 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-05-12 16:04:28 +0530 |
commit | ee7141e28b482c9655e0b78052ead0f2b5ed5d05 (patch) | |
tree | b24f0aa4bda85b4e68236231d14e05d2ebc747d8 /src/operations/transactions.ts | |
parent | b504a5218ad99c04de8077f222747334f53d6ac0 (diff) | |
download | wallet-core-ee7141e28b482c9655e0b78052ead0f2b5ed5d05.tar.xz |
fix payment transaction
Diffstat (limited to 'src/operations/transactions.ts')
-rw-r--r-- | src/operations/transactions.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/operations/transactions.ts b/src/operations/transactions.ts index e5c704b03..5e4de4188 100644 --- a/src/operations/transactions.ts +++ b/src/operations/transactions.ts @@ -176,11 +176,10 @@ export async function getTransactions( if (!proposal) { return; } - const cost = await getTotalPaymentCost(ws, pr.payCoinSelection); transactions.push({ type: TransactionType.Payment, amountRaw: Amounts.stringify(pr.contractData.amount), - amountEffective: Amounts.stringify(cost.totalCost), + amountEffective: Amounts.stringify(pr.payCostInfo.totalCost), failed: false, pending: !pr.timestampFirstSuccessfulPay, timestamp: pr.timestampAccept, |