diff options
Diffstat (limited to 'src/testing/testing_api_cmd_post_reserves.c')
-rw-r--r-- | src/testing/testing_api_cmd_post_reserves.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_post_reserves.c b/src/testing/testing_api_cmd_post_reserves.c index 31866384..b2167534 100644 --- a/src/testing/testing_api_cmd_post_reserves.c +++ b/src/testing/testing_api_cmd_post_reserves.c @@ -133,7 +133,7 @@ post_reserves_cb (void *cls, * @param index index number of the object to extract. * @return #GNUNET_OK on success */ -static int +static enum GNUNET_GenericReturnValue post_reserves_traits (void *cls, const void **ret, const char *trait, @@ -141,8 +141,8 @@ post_reserves_traits (void *cls, { struct PostReservesState *prs = cls; struct TALER_TESTING_Trait traits[] = { - TALER_TESTING_make_trait_reserve_pub (0, &prs->reserve_pub), - TALER_TESTING_make_trait_amount_obj (0, &prs->initial_balance), + TALER_TESTING_make_trait_reserve_pub (&prs->reserve_pub), + TALER_TESTING_make_trait_amount (&prs->initial_balance), TALER_TESTING_trait_end (), }; |