gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix: also use the hostname when


From: gnunet
Subject: [taler-exchange] branch master updated: fix: also use the hostname when checking payto
Date: Sun, 27 Aug 2023 02:40:22 +0200

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 1007ec22 fix: also use the hostname when checking payto
1007ec22 is described below

commit 1007ec222bba4e50f749c4e19de4432f37021c1a
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Sat Aug 26 21:38:40 2023 -0300

    fix: also use the hostname when checking payto
---
 src/bank-lib/fakebank.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 2241c494..b680118f 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -2595,7 +2595,8 @@ handle_credit_history (struct TALER_FAKEBANK_Handle *h,
     }
     /* FIXME: was simply: acc->payto_uri -- same!? */
     GNUNET_asprintf (&hc->payto_uri,
-                     "payto://x-taler-bank/localhost/%s?receiver-name=%s",
+                     "payto://x-taler-bank/%s/%s?receiver-name=%s",
+                     h->hostname,
                      account,
                      hc->acc->receiver_name);
     GNUNET_assert (0 == strcmp (hc->payto_uri,

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