merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

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

followup to 2021-12-19, "-introduce new types for tip identifiers and tip pickups"

Diffstat:
Msrc/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 @@ -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); }