gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: payment


From: gnunet
Subject: [taler-anastasis] branch master updated: payment
Date: Fri, 20 Nov 2020 16:11:48 +0100

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

ds-meister pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 6dc1bbb  payment
6dc1bbb is described below

commit 6dc1bbbdf5d94ffdc676bf8e6b7de81fee54d8c1
Author: Dominik Meister <dominik.meister@hotmail.ch>
AuthorDate: Fri Nov 20 16:11:42 2020 +0100

    payment
---
 src/lib/test_anastasis_api.c              |  2 +-
 src/lib/testing_api_cmd_keyshare_lookup.c | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/lib/test_anastasis_api.c b/src/lib/test_anastasis_api.c
index 9bf86c5..358e019 100644
--- a/src/lib/test_anastasis_api.c
+++ b/src/lib/test_anastasis_api.c
@@ -321,7 +321,7 @@ run (void *cls,
                                            "challenge-run-2",
                                            ANASTASIS_TESTING_make_truthkey (
                                              "Truth-Key-2"),
-                                           "challenge-run-2",
+                                           "challenge-run-1",
                                            1,
                                            "truth-store-2",
                                            1),
diff --git a/src/lib/testing_api_cmd_keyshare_lookup.c 
b/src/lib/testing_api_cmd_keyshare_lookup.c
index 5fb078a..c8e1091 100644
--- a/src/lib/testing_api_cmd_keyshare_lookup.c
+++ b/src/lib/testing_api_cmd_keyshare_lookup.c
@@ -115,6 +115,7 @@ keyshare_lookup_cb (void *cls,
   TALER_TESTING_interpreter_next (ksls->is);
 }
 
+
 static void
 keyshare_lookup_run (void *cls,
                      const struct TALER_TESTING_Command *cmd,
@@ -197,10 +198,14 @@ keyshare_lookup_run (void *cls,
   {
 
     const char *order_id;
+    const struct TALER_TESTING_Command *payment_cmd;
 
+    payment_cmd = TALER_TESTING_interpreter_lookup_command
+                    (is,
+                    ksls->payment_reference);
 
     if (GNUNET_OK !=
-        TALER_TESTING_get_trait_order_id (ksls->payment_reference,
+        TALER_TESTING_get_trait_order_id (payment_cmd,
                                           0,
                                           &order_id))
     {
@@ -239,6 +244,7 @@ keyshare_lookup_run (void *cls,
   }
 }
 
+
 static void
 keyshare_lookup_cleanup (void *cls,
                          const struct TALER_TESTING_Command *cmd)
@@ -256,6 +262,7 @@ keyshare_lookup_cleanup (void *cls,
   GNUNET_free (ksls);
 }
 
+
 struct GNUNET_HashCode
 ANASTASIS_TESTING_make_hashed_answer (const void *answer,
                                       size_t size_answer)
@@ -270,6 +277,7 @@ ANASTASIS_TESTING_make_hashed_answer (const void *answer,
   return hashed_answer;
 }
 
+
 struct TALER_TESTING_Command
 ANASTASIS_TESTING_cmd_keyshare_lookup (const char *label,
                                        const char *anastasis_url,

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