diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-17 14:54:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-17 14:54:04 +0100 |
commit | 08958c73e8ba6ad30e98a30968077cdf55bc86e8 (patch) | |
tree | 0a478324b05e6d8c70d91a512305fa49287ac8a5 /src/mint/taler-mint-reservemod.c | |
parent | e0ae4e12905e247c8325ba50cd2e9d4f8231a54d (diff) | |
download | exchange-08958c73e8ba6ad30e98a30968077cdf55bc86e8.tar.xz |
add refs to bugtracker
Diffstat (limited to 'src/mint/taler-mint-reservemod.c')
-rw-r--r-- | src/mint/taler-mint-reservemod.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mint/taler-mint-reservemod.c b/src/mint/taler-mint-reservemod.c index e805cacc1..dea59d6ee 100644 --- a/src/mint/taler-mint-reservemod.c +++ b/src/mint/taler-mint-reservemod.c @@ -15,7 +15,7 @@ */ /** * @file taler-mint-reservemod.c - * @brief Modify reserves. Allows manipulation of reserve balances for testing. + * @brief Modify reserves. Allows manipulation of reserve balances. * @author Florian Dold * @author Benedikt Mueller */ @@ -57,6 +57,11 @@ static PGconn *db_conn; * @return #GNUNET_OK on success, * #GNUNET_SYSERR on error */ +// FIXME: this should use the DB abstraction layer. (#3717) +// FIXME: this should be done by adding an inbound transaction +// to the table with the transactions for this reserve, +// not by modifying some 'total' value for the reserve! +// (we should in fact probably never modify, always just append!) (#3633) static int reservemod_add (struct TALER_Amount denom) { @@ -223,7 +228,7 @@ main (int argc, char *const *argv) "WARNING", NULL)); - if (GNUNET_GETOPT_run ("taler-mint-keyup", + if (GNUNET_GETOPT_run ("taler-mint-reservemod", options, argc, argv) < 0) return 1; |