gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 01/02: followup to 2021-12-19, "-introduce new types fo


From: gnunet
Subject: [taler-merchant] 01/02: followup to 2021-12-19, "-introduce new types for tip identifiers and tip pickups"
Date: Thu, 23 Dec 2021 13:02:08 +0100

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

ttn pushed a commit to branch master
in repository merchant.

commit 2f24b7600e3cad5264b00e7a14e5244b9792a5a4
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Thu Dec 23 06:58:36 2021 -0500

    followup to 2021-12-19, "-introduce new types for tip identifiers and tip 
pickups"
---
 src/backenddb/test_merchantdb.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index d6d490b6..9d372fce 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -5080,7 +5080,7 @@ static int
 test_lookup_pickup (
   const struct InstanceData *instance,
   const struct TipData *tip,
-  const struct GNUNET_HashCode *pickup_id,
+  const struct TALER_PickupIdentifierP *pickup_id,
   const char *expected_exchange_url,
   const struct TALER_ReservePrivateKeyP *expected_reserve_priv,
   unsigned int expected_sigs_length,
@@ -5191,7 +5191,7 @@ struct TestLookupTips_Closure
 static void
 lookup_tips_cb (void *cls,
                 uint64_t row_id,
-                struct GNUNET_HashCode tip_id,
+                struct TALER_TipIdentifierP tip_id,
                 struct TALER_Amount amount)
 {
   struct TestLookupTips_Closure *cmp = cls;
@@ -5331,7 +5331,7 @@ struct TestTips_Closure
   /**
    * Id of a pickup.
    */
-  struct GNUNET_HashCode pickup_id;
+  struct TALER_PickupIdentifierP pickup_id;
 
   /**
    * Private key of the pickup.
@@ -5404,7 +5404,7 @@ pre_test_tips (struct TestTips_Closure *cls)
   cls->pickup_sig.cipher = TALER_DENOMINATION_RSA;
   cls->pickup_sig.details.blinded_rsa_signature
     = GNUNET_CRYPTO_rsa_sign_fdh (cls->pickup_priv,
-                                  &cls->pickup_id);
+                                  &cls->pickup_id.hash);
 }
 
 

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