[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: make no sense to send the non
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: make no sense to send the noncePriv if the proposal is already paid |
Date: |
Mon, 20 Sep 2021 05:17:56 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 62b64cb4 make no sense to send the noncePriv if the proposal is
already paid
62b64cb4 is described below
commit 62b64cb453f6a4fd62c64bdd8e3240d5d7f03ce4
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Sep 20 00:17:45 2021 -0300
make no sense to send the noncePriv if the proposal is already paid
---
packages/taler-util/src/walletTypes.ts | 2 --
packages/taler-wallet-core/src/operations/pay.ts | 3 ---
2 files changed, 5 deletions(-)
diff --git a/packages/taler-util/src/walletTypes.ts
b/packages/taler-util/src/walletTypes.ts
index 2b35423b..37abd8b5 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -356,7 +356,6 @@ export const codecForPreparePayResultAlreadyConfirmed = ():
Codec<PreparePayResu
.property("contractTerms", codecForAny())
.property("contractTermsHash", codecForString())
.property("proposalId", codecForString())
- .property("noncePriv", codecForString())
.build("PreparePayResultAlreadyConfirmed");
export const codecForPreparePayResult = (): Codec<PreparePayResult> =>
@@ -407,7 +406,6 @@ export interface PreparePayResultAlreadyConfirmed {
amountEffective: string;
contractTermsHash: string;
proposalId: string;
- noncePriv: string;
}
export interface BankWithdrawDetails {
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,
};
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: make no sense to send the noncePriv if the proposal is already paid,
gnunet <=