diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-05 16:55:01 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-05 16:55:01 +0200 |
commit | 922323b4104abfaef2a11fed4e5e8292344a3bcd (patch) | |
tree | 8ed3781141741e743d120180b7e785f6a38eca3c /src/mint-lib/mint_api_admin.c | |
parent | f623214c1292b93fa8672361dfa978a506f4bef3 (diff) |
misc bugfixes from tests
Diffstat (limited to 'src/mint-lib/mint_api_admin.c')
-rw-r--r-- | src/mint-lib/mint_api_admin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mint-lib/mint_api_admin.c b/src/mint-lib/mint_api_admin.c index 0169f8e7d..47158665a 100644 --- a/src/mint-lib/mint_api_admin.c +++ b/src/mint-lib/mint_api_admin.c @@ -246,7 +246,7 @@ struct TALER_MINT_AdminAddIncomingHandle * TALER_MINT_admin_add_incoming (struct TALER_MINT_Handle *mint, const struct TALER_ReservePublicKeyP *reserve_pub, const struct TALER_Amount *amount, - const struct GNUNET_TIME_Absolute execution_date, + struct GNUNET_TIME_Absolute execution_date, const json_t *wire, TALER_MINT_AdminAddIncomingResultCallback res_cb, void *res_cb_cls) @@ -256,6 +256,8 @@ TALER_MINT_admin_add_incoming (struct TALER_MINT_Handle *mint, json_t *admin_obj; CURL *eh; + GNUNET_assert (GNUNET_OK == + TALER_round_abs_time (&execution_date)); if (GNUNET_YES != MAH_handle_is_ready (mint)) { |