summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-09-20 00:17:45 -0300
committerSebastian <sebasjm@gmail.com>2021-09-20 00:17:45 -0300
commit62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4 (patch)
tree5ad8c042ee86144beeb399d82112f4cfbd067d9a /packages/taler-wallet-core/src
parent315b167bee240e625beea731df6472a971b46cb2 (diff)
downloadwallet-core-62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4.tar.gz
wallet-core-62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4.tar.bz2
wallet-core-62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4.zip
make no sense to send the noncePriv if the proposal is already paid
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r--packages/taler-wallet-core/src/operations/pay.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts
index 970aa46f..c524f4c9 100644
--- a/packages/taler-wallet-core/src/operations/pay.ts
+++ b/packages/taler-wallet-core/src/operations/pay.ts
@@ -1465,7 +1465,6 @@ export async function checkPaymentByProposalId(
amountRaw: Amounts.stringify(purchase.download.contractData.amount),
amountEffective: Amounts.stringify(purchase.totalPayCost),
proposalId,
- noncePriv: proposal.noncePriv,
};
} else if (!purchase.timestampFirstSuccessfulPay) {
return {
@@ -1476,7 +1475,6 @@ export async function checkPaymentByProposalId(
amountRaw: Amounts.stringify(purchase.download.contractData.amount),
amountEffective: Amounts.stringify(purchase.totalPayCost),
proposalId,
- noncePriv: proposal.noncePriv,
};
} else {
const paid = !purchase.paymentSubmitPending;
@@ -1489,7 +1487,6 @@ export async function checkPaymentByProposalId(
amountEffective: Amounts.stringify(purchase.totalPayCost),
...(paid ? { nextUrl: purchase.download.contractData.orderId } : {}),
proposalId,
- noncePriv: proposal.noncePriv,
};
}
}