diff options
author | Sebastian <sebasjm@gmail.com> | 2021-09-20 00:17:45 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-09-20 00:17:45 -0300 |
commit | 62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4 (patch) | |
tree | 5ad8c042ee86144beeb399d82112f4cfbd067d9a /packages/taler-wallet-core/src | |
parent | 315b167bee240e625beea731df6472a971b46cb2 (diff) | |
download | wallet-core-62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4.tar.xz |
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.ts | 3 |
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 970aa46ff..c524f4c98 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, }; } } |