summaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index d0330d784..f589b92fc 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -2753,6 +2753,14 @@ postgres_insert_denomination_info (
};
(void) cls;
+ GNUNET_assert (0 != GNUNET_TIME_absolute_ntoh (
+ issue->properties.start).abs_value_us);
+ GNUNET_assert (0 != GNUNET_TIME_absolute_ntoh (
+ issue->properties.expire_withdraw).abs_value_us);
+ GNUNET_assert (0 != GNUNET_TIME_absolute_ntoh (
+ issue->properties.expire_deposit).abs_value_us);
+ GNUNET_assert (0 != GNUNET_TIME_absolute_ntoh (
+ issue->properties.expire_legal).abs_value_us);
/* check fees match coin currency */
GNUNET_assert (GNUNET_YES ==
TALER_amount_cmp_currency_nbo (&issue->properties.value,