diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 22:00:31 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 22:00:31 +0200 |
commit | d37e16a76c32e83407f5ea71e572cc5469a58924 (patch) | |
tree | 0bb4849ae69ccbc94ae7424014ac9abe0d8d16d5 /src/testing | |
parent | f82923526d6f7f688677b15f416a3b41f9feff2b (diff) | |
download | merchant-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.c | 12 |
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", - ×tamp), + TALER_JSON_spec_absolute_time ("refund_deadline", + &refund_deadline), + TALER_JSON_spec_absolute_time ("pay_deadline", + &pay_deadline), + TALER_JSON_spec_absolute_time ("timestamp", + ×tamp), GNUNET_JSON_spec_fixed_auto ("merchant_pub", &merchant_pub), GNUNET_JSON_spec_fixed_auto ("h_wire", |