summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-17 14:54:04 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-17 14:54:04 +0100
commit08958c73e8ba6ad30e98a30968077cdf55bc86e8 (patch)
tree0a478324b05e6d8c70d91a512305fa49287ac8a5
parente0ae4e12905e247c8325ba50cd2e9d4f8231a54d (diff)
downloadexchange-08958c73e8ba6ad30e98a30968077cdf55bc86e8.tar.gz
exchange-08958c73e8ba6ad30e98a30968077cdf55bc86e8.tar.bz2
exchange-08958c73e8ba6ad30e98a30968077cdf55bc86e8.zip
add refs to bugtracker
-rw-r--r--src/mint/mint_db.h5
-rw-r--r--src/mint/taler-mint-reservemod.c9
2 files changed, 9 insertions, 5 deletions
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h
index 9818172a..4a9ec152 100644
--- a/src/mint/mint_db.h
+++ b/src/mint/mint_db.h
@@ -110,8 +110,7 @@ TALER_MINT_DB_rollback (PGconn *db_conn);
/**
- * Information we keep on a bank transfer that
- * established a reserve.
+ * Information we keep on bank transfer(s) that established a reserve.
*/
struct BankTransfer
{
@@ -135,7 +134,7 @@ struct BankTransfer
/* FIXME: add functions to add bank transfers to our DB
- (and to test if we already did add one) (#3633) */
+ (and to test if we already did add one) (#3633/#3717) */
/**
* A summary of a Reserve
diff --git a/src/mint/taler-mint-reservemod.c b/src/mint/taler-mint-reservemod.c
index e805cacc..dea59d6e 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;