diff options
Diffstat (limited to 'src/testing/testing_api_cmd_tip_authorize.c')
-rw-r--r-- | src/testing/testing_api_cmd_tip_authorize.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/testing/testing_api_cmd_tip_authorize.c b/src/testing/testing_api_cmd_tip_authorize.c index cc83605f..3d6893d9 100644 --- a/src/testing/testing_api_cmd_tip_authorize.c +++ b/src/testing/testing_api_cmd_tip_authorize.c @@ -76,7 +76,7 @@ struct TipAuthorizeState /** * The tip id; set when the CMD succeeds. */ - struct GNUNET_HashCode tip_id; + struct TALER_TipIdentifierP tip_id; /** * Expiration date for this tip. @@ -134,7 +134,7 @@ do_retry (void *cls); static void tip_authorize_cb (void *cls, const struct TALER_MERCHANT_HttpResponse *hr, - struct GNUNET_HashCode *tip_id, + struct TALER_TipIdentifierP *tip_id, const char *taler_tip_uri, struct GNUNET_TIME_Timestamp expiration) { @@ -299,8 +299,7 @@ tip_authorize_fake_run (void *cls, /* Make up a tip id. */ GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, &tas->tip_id, - sizeof (struct GNUNET_HashCode)); - + sizeof (struct TALER_TipIdentifierP)); TALER_TESTING_interpreter_next (is); } |