commit 5fc86aa116f905df1ed390d6bc88b8a239a56998
parent 19173147e396d0431859d66bf94c6fa8a8c350a0
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 22 Apr 2025 22:31:15 +0200
also allow http-only for is_wallet
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/util/payto.c b/src/util/payto.c
@@ -47,9 +47,13 @@ TALER_full_payto_cmp (const struct TALER_FullPayto a,
bool
TALER_payto_is_wallet (const char *payto_uri)
{
- return (0 == strncasecmp (payto_uri,
- "taler://taler-reserve/",
- strlen ("taler://taler-reserve/")));
+ return
+ (0 == strncasecmp (payto_uri,
+ "taler://taler-reserve/",
+ strlen ("taler://taler-reserve/"))) ||
+ (0 == strncasecmp (payto_uri,
+ "taler://taler-reserve-http/",
+ strlen ("taler://taler-reserve-http/")));
}