diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-06 10:20:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-06 10:20:58 +0200 |
commit | caf6807856e3044f7e1065d84ca189e4d89b3b12 (patch) | |
tree | ef450f7eee7a4496becfd1ecd2cc4221fa8bc686 /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | c71c40d4d62d55730dad032c3ef9f8f645a07efd (diff) |
-fix assertion failure caused by testcase
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 8 |
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, |