summaryrefslogtreecommitdiff
path: root/src/testing
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/testing
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/testing')
-rw-r--r--src/testing/testing_api_cmd_pay_order.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_pay_order.c b/src/testing/testing_api_cmd_pay_order.c
index c576c316..62105b4c 100644
--- a/src/testing/testing_api_cmd_pay_order.c
+++ b/src/testing/testing_api_cmd_pay_order.c
@@ -333,12 +333,12 @@ pay_run (void *cls,
struct GNUNET_JSON_Specification spec[] = {
GNUNET_JSON_spec_string ("order_id",
&order_id),
- GNUNET_JSON_spec_absolute_time ("refund_deadline",
- &refund_deadline),
- GNUNET_JSON_spec_absolute_time ("pay_deadline",
- &pay_deadline),
- GNUNET_JSON_spec_absolute_time ("timestamp",
- &timestamp),
+ TALER_JSON_spec_absolute_time ("refund_deadline",
+ &refund_deadline),
+ TALER_JSON_spec_absolute_time ("pay_deadline",
+ &pay_deadline),
+ TALER_JSON_spec_absolute_time ("timestamp",
+ &timestamp),
GNUNET_JSON_spec_fixed_auto ("merchant_pub",
&merchant_pub),
GNUNET_JSON_spec_fixed_auto ("h_wire",