diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-11 13:14:59 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-11 13:14:59 +0200 |
commit | edc6d380824a2076f7f095a71b8cb5d53f32f6ce (patch) | |
tree | d97869d3b3c571c7f57f7e4f7a0194facc70a052 /src/mint-tools/taler-mint-reservemod.c | |
parent | babeff1968b4076fa2f570af8c994727dd8fa09f (diff) | |
download | exchange-edc6d380824a2076f7f095a71b8cb5d53f32f6ce.tar.xz |
use execution time for transactions, but expiration time for reserve summary (fixes #3809)
Diffstat (limited to 'src/mint-tools/taler-mint-reservemod.c')
-rw-r--r-- | src/mint-tools/taler-mint-reservemod.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mint-tools/taler-mint-reservemod.c b/src/mint-tools/taler-mint-reservemod.c index 9dff5731c..75093fc75 100644 --- a/src/mint-tools/taler-mint-reservemod.c +++ b/src/mint-tools/taler-mint-reservemod.c @@ -25,11 +25,6 @@ #include "taler_mintdb_plugin.h" /** - * After what time to inactive reserves expire? - */ -#define RESERVE_EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 5) - -/** * Director of the mint, containing the keys. */ static char *mint_directory; @@ -60,7 +55,6 @@ main (int argc, char *const *argv) struct TALER_Amount add_value; char *details = NULL; struct TALER_ReservePublicKeyP reserve_pub; - struct GNUNET_TIME_Absolute expiration; struct TALER_MINTDB_Session *session; const struct GNUNET_GETOPT_CommandLineOption options[] = { {'a', "add", "DENOM", @@ -163,13 +157,11 @@ main (int argc, char *const *argv) "Failed to initialize DB session\n"); goto cleanup; } - expiration = GNUNET_TIME_relative_to_absolute (RESERVE_EXPIRATION); ret = plugin->reserves_in_insert (plugin->cls, session, &reserve_pub, &add_value, - details, - expiration); + details); if (GNUNET_SYSERR == ret) { fprintf (stderr, |