gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix: account restriction regex f


From: gnunet
Subject: [taler-exchange] branch master updated: fix: account restriction regex field
Date: Thu, 14 Dec 2023 18:07:35 +0100

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

sebasjm pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 70539cb0 fix: account restriction regex field
70539cb0 is described below

commit 70539cb0f5e9b60dbbb40009687f2d635763226b
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Dec 14 14:07:30 2023 -0300

    fix: account restriction regex field
---
 src/exchange-tools/taler-exchange-offline.c | 2 +-
 src/lib/exchange_api_handle.c               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/exchange-tools/taler-exchange-offline.c 
b/src/exchange-tools/taler-exchange-offline.c
index 1a8d61e7..7380e607 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -3052,7 +3052,7 @@ parse_restriction (char *const *args,
                      GNUNET_JSON_PACK (
                        GNUNET_JSON_pack_string ("type",
                                                 "regex"),
-                       GNUNET_JSON_pack_string ("regex",
+                       GNUNET_JSON_pack_string ("payto_regex",
                                                 args[1]),
                        GNUNET_JSON_pack_string ("human_hint",
                                                 args[2]),
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 1d44ed34..4b029874 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -2045,7 +2045,7 @@ ar_to_json (unsigned int ar_len,
               "type",
               "regex"),
             GNUNET_JSON_pack_string (
-              "regex",
+              "payto_regex",
               ar->details.regex.posix_egrep),
             GNUNET_JSON_pack_string (
               "human_hint",

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