gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] 01/02: fix: ageRestriction option was missing


From: gnunet
Subject: [taler-wallet-core] 01/02: fix: ageRestriction option was missing
Date: Fri, 25 Nov 2022 16:19:01 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

commit c121eb875eb05b5fb49bd5583b6fcd4da8180879
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Nov 25 12:12:14 2022 -0300

    fix: ageRestriction option was missing
---
 packages/taler-wallet-core/src/wallet.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/wallet.ts 
b/packages/taler-wallet-core/src/wallet.ts
index 5ad86dfe8..2167de534 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -100,6 +100,7 @@ import {
   WalletCoreVersion,
   WalletNotification,
   codecForUserAttentionByIdRequest,
+  ManualWithdrawalDetails,
 } from "@gnu-taler/taler-util";
 import { TalerCryptoInterface } from "./crypto/cryptoImplementation.js";
 import {
@@ -1091,12 +1092,14 @@ async function dispatchRequestInternal<Op extends 
WalletApiOperation>(
         Amounts.parseOrThrow(req.amount),
         req.restrictAge,
       );
-      return {
+      const resp: ManualWithdrawalDetails = {
         amountRaw: req.amount,
         amountEffective: Amounts.stringify(wi.selectedDenoms.totalCoinValue),
         paytoUris: wi.exchangePaytoUris,
         tosAccepted: wi.termsOfServiceAccepted,
+        ageRestrictionOptions: wi.ageRestrictionOptions,
       };
+      return resp;
     }
     case WalletApiOperation.GetBalances: {
       return await getBalances(ws);

-- 
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]