[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: -fix pending operation
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: -fix pending operation |
Date: |
Mon, 20 Feb 2023 04:24:02 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new c022f3942 -fix pending operation
c022f3942 is described below
commit c022f394286e1b8c35123d92bd2d4a23c3f981f9
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Feb 20 04:23:53 2023 +0100
-fix pending operation
---
packages/taler-wallet-core/src/operations/pending.ts | 2 +-
packages/taler-wallet-core/src/wallet.ts | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/packages/taler-wallet-core/src/operations/pending.ts
b/packages/taler-wallet-core/src/operations/pending.ts
index 554766c04..240c7ff65 100644
--- a/packages/taler-wallet-core/src/operations/pending.ts
+++ b/packages/taler-wallet-core/src/operations/pending.ts
@@ -442,7 +442,7 @@ async function gatherPeerPushCreditPending(
): Promise<void> {
await tx.peerPushPaymentIncoming.iter().forEachAsync(async (pi) => {
switch (pi.status) {
- case PeerPushPaymentIncomingStatus.Accepted:
+ case PeerPushPaymentIncomingStatus.Proposed:
return;
case PeerPushPaymentIncomingStatus.WithdrawalCreated:
return;
diff --git a/packages/taler-wallet-core/src/wallet.ts
b/packages/taler-wallet-core/src/wallet.ts
index 4f037eade..6f775142b 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -1432,10 +1432,6 @@ async function dispatchRequestInternal<Op extends
WalletApiOperation>(
const req = codecForCheckPeerPushDebitRequest().decode(payload);
return await checkPeerPushDebit(ws, req);
}
- case WalletApiOperation.PreparePeerPushCredit: {
- const req = codecForPreparePeerPushCreditRequest().decode(payload);
- return await preparePeerPushCredit(ws, req);
- }
case WalletApiOperation.InitiatePeerPushDebit: {
const req = codecForInitiatePeerPushPaymentRequest().decode(payload);
return await initiatePeerPushPayment(ws, req);
--
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: -fix pending operation,
gnunet <=