From b4965db0d26a85787e1fd430e1591c50f8dd1279 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 24 Apr 2022 20:49:11 +0200 Subject: -fix fieldnames, regenerated DBs --- src/lib/exchange_api_purse_create_with_merge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/exchange_api_purse_create_with_merge.c') diff --git a/src/lib/exchange_api_purse_create_with_merge.c b/src/lib/exchange_api_purse_create_with_merge.c index acf60ceee..c1ccf7b89 100644 --- a/src/lib/exchange_api_purse_create_with_merge.c +++ b/src/lib/exchange_api_purse_create_with_merge.c @@ -294,7 +294,6 @@ TALER_EXCHANGE_purse_create_with_merge ( &contract_pub.ecdhe_pub); { - // FIXME: get purse expiration time from contract? struct GNUNET_JSON_Specification spec[] = { TALER_JSON_spec_amount_any ("amount", &pcm->purse_value_after_fees), @@ -302,8 +301,7 @@ TALER_EXCHANGE_purse_create_with_merge ( GNUNET_JSON_spec_uint32 ("minimum_age", &min_age), NULL), - // FIXME: correct field name? - GNUNET_JSON_spec_timestamp ("payment_deadline", + GNUNET_JSON_spec_timestamp ("pay_deadline", &pcm->purse_expiration), GNUNET_JSON_spec_end () }; -- cgit v1.2.3