aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_purse_create_with_merge.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-24 20:49:11 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-24 20:49:11 +0200
commitb4965db0d26a85787e1fd430e1591c50f8dd1279 (patch)
treefebdd6f7d2a60a8d96de9f56e999a7c1a930e53d /src/lib/exchange_api_purse_create_with_merge.c
parentb671d6b25dd469c9065a28d4406f6883da83c4ea (diff)
downloadexchange-b4965db0d26a85787e1fd430e1591c50f8dd1279.tar.xz
-fix fieldnames, regenerated DBs
Diffstat (limited to 'src/lib/exchange_api_purse_create_with_merge.c')
-rw-r--r--src/lib/exchange_api_purse_create_with_merge.c4
1 files changed, 1 insertions, 3 deletions
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 ()
};