diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2021-12-23 06:58:36 -0500 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2021-12-23 06:58:36 -0500 |
commit | 2f24b7600e3cad5264b00e7a14e5244b9792a5a4 (patch) | |
tree | c4259d465b0c2dd546847c79b625bd491739ac99 /src | |
parent | 64e64141962fbea4e8acea87f57f98e93360a7c4 (diff) |
followup to 2021-12-19, "-introduce new types for tip identifiers and tip pickups"
Diffstat (limited to 'src')
-rw-r--r-- | src/backenddb/test_merchantdb.c | 8 |
1 files 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); } |