aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_proposal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_proposal.c')
-rw-r--r--src/backend/taler-merchant-httpd_proposal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_proposal.c b/src/backend/taler-merchant-httpd_proposal.c
index 107f93cf..6afd275b 100644
--- a/src/backend/taler-merchant-httpd_proposal.c
+++ b/src/backend/taler-merchant-httpd_proposal.c
@@ -479,6 +479,13 @@ proposal_put (struct MHD_Connection *connection,
refund_deadline.abs_value_us)
{
GNUNET_JSON_parse_free (spec);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "invariant failed: wire_transfer_deadline >= refund_deadline\n");
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "wire_transfer_deadline: %s\n",
+ GNUNET_STRINGS_absolute_time_to_string (
+ wire_transfer_deadline));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "refund_deadline: %s\n",
+ GNUNET_STRINGS_absolute_time_to_string (refund_deadline));
return TMH_RESPONSE_reply_arg_invalid
(connection,
TALER_EC_PARAMETER_MALFORMED,