diff options
-rw-r--r-- | src/exchange-tools/taler-exchange-offline.c | 2 | ||||
-rw-r--r-- | 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 1a8d61e70..7380e6079 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 1d44ed34f..4b0298744 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", |