summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_merchant_get_tip.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 22:00:31 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 22:00:31 +0200
commitd37e16a76c32e83407f5ea71e572cc5469a58924 (patch)
tree0bb4849ae69ccbc94ae7424014ac9abe0d8d16d5 /src/lib/merchant_api_merchant_get_tip.c
parentf82923526d6f7f688677b15f416a3b41f9feff2b (diff)
downloadmerchant-d37e16a76c32e83407f5ea71e572cc5469a58924.tar.gz
merchant-d37e16a76c32e83407f5ea71e572cc5469a58924.tar.bz2
merchant-d37e16a76c32e83407f5ea71e572cc5469a58924.zip
fix #6408 also in merchant: in principle only allow rounded times over JSON
Diffstat (limited to 'src/lib/merchant_api_merchant_get_tip.c')
-rw-r--r--src/lib/merchant_api_merchant_get_tip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_merchant_get_tip.c b/src/lib/merchant_api_merchant_get_tip.c
index 5ecd65ee..e1f0f23e 100644
--- a/src/lib/merchant_api_merchant_get_tip.c
+++ b/src/lib/merchant_api_merchant_get_tip.c
@@ -158,8 +158,8 @@ handle_merchant_tip_get_finished (void *cls,
&total_picked_up),
GNUNET_JSON_spec_string ("reason",
&reason),
- GNUNET_JSON_spec_absolute_time ("expiration",
- &expiration),
+ TALER_JSON_spec_absolute_time ("expiration",
+ &expiration),
GNUNET_JSON_spec_fixed_auto ("reserve_pub",
&reserve_pub),
GNUNET_JSON_spec_end ()