summaryrefslogtreecommitdiff
path: root/src/mint-tools
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-11 13:14:59 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-11 13:14:59 +0200
commitedc6d380824a2076f7f095a71b8cb5d53f32f6ce (patch)
treed97869d3b3c571c7f57f7e4f7a0194facc70a052 /src/mint-tools
parentbabeff1968b4076fa2f570af8c994727dd8fa09f (diff)
downloadexchange-edc6d380824a2076f7f095a71b8cb5d53f32f6ce.tar.gz
exchange-edc6d380824a2076f7f095a71b8cb5d53f32f6ce.tar.bz2
exchange-edc6d380824a2076f7f095a71b8cb5d53f32f6ce.zip
use execution time for transactions, but expiration time for reserve summary (fixes #3809)
Diffstat (limited to 'src/mint-tools')
-rw-r--r--src/mint-tools/taler-mint-reservemod.c10
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,