diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-13 21:41:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-13 21:41:41 +0100 |
commit | 12373dec23666974eb15698922d1099976277e39 (patch) | |
tree | ed14091086a4e2ed0be2bd192bd391f5e5eecc4e /src/backend/taler-merchant-httpd_private-post-orders.c | |
parent | 0160ac24bce1eae4239045a430d8df00ab25ffd9 (diff) |
more logging
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 054dd714..d5a9f040 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders.c +++ b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -977,6 +977,9 @@ check_contract (struct OrderContext *oc) "order contained unallowed values"); return; case GNUNET_OK: + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Contract hash is %s\n", + GNUNET_h2s (&h_control.hash)); oc->phase++; return; } @@ -1290,6 +1293,13 @@ serialize_order (struct OrderContext *oc) "refund_deadline", GNUNET_JSON_from_timestamp ( oc->parse_order.refund_deadline))); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Refund deadline for contact is %llu\n", + (unsigned long long) refund_deadline.abs_time.abs_value_us); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Wallet timestamp for contact is %llu\n", + (unsigned long + long) oc->parse_order.timestamp.abs_time.abs_value_us); /* Pack does not work here, because it sets zero-values for relative times */ /* auto_refund should only be set if it is not 0 */ |