gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: p2p was not returning the val


From: gnunet
Subject: [taler-wallet-core] branch master updated: p2p was not returning the value
Date: Sat, 17 Sep 2022 23:40:24 +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 ba5f8ad38 p2p was not returning the value
ba5f8ad38 is described below

commit ba5f8ad3867adc114e3b580090767fe95b68a146
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sat Sep 17 18:40:03 2022 -0300

    p2p was not returning the value
---
 packages/taler-wallet-core/src/wallet.ts                   | 6 ++----
 packages/taler-wallet-webextension/src/wallet/QrReader.tsx | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/packages/taler-wallet-core/src/wallet.ts 
b/packages/taler-wallet-core/src/wallet.ts
index 578237eb8..0208f24ac 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -1392,8 +1392,7 @@ async function dispatchRequestInternal(
     }
     case "acceptPeerPushPayment": {
       const req = codecForAcceptPeerPushPaymentRequest().decode(payload);
-      await acceptPeerPushPayment(ws, req);
-      return {};
+      return await acceptPeerPushPayment(ws, req);
     }
     case "initiatePeerPullPayment": {
       const req = codecForInitiatePeerPullPaymentRequest().decode(payload);
@@ -1405,8 +1404,7 @@ async function dispatchRequestInternal(
     }
     case "acceptPeerPullPayment": {
       const req = codecForAcceptPeerPullPaymentRequest().decode(payload);
-      await acceptPeerPullPayment(ws, req);
-      return {};
+      return await acceptPeerPullPayment(ws, req);
     }
     case "getVersion": {
       const version: WalletCoreVersion = {
diff --git a/packages/taler-wallet-webextension/src/wallet/QrReader.tsx 
b/packages/taler-wallet-webextension/src/wallet/QrReader.tsx
index 06897338d..467f8bb7c 100644
--- a/packages/taler-wallet-webextension/src/wallet/QrReader.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/QrReader.tsx
@@ -119,7 +119,7 @@ export function QrReaderPage({ onDetected }: Props): VNode {
       />
       {isValid && (
         <Button variant="contained" onClick={async () => onDetected(value)}>
-          <i18n.Translate>Open/</i18n.Translate>
+          <i18n.Translate>Open</i18n.Translate>
         </Button>
       )}
       {!active && !isValid && (

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]