aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-15 17:08:56 +0200
committerChristian Grothoff <christian@grothoff.org>2015-05-15 17:08:56 +0200
commit33f5242ac4105d8631d659447989cb718459b081 (patch)
treeb58d4e57bfead3329ed33703c837fda5dd676c29 /src
parent88ff3e8bb5daf7903368b080ec7bf7f9ee5fd0ab (diff)
transaction logic is inside of DB function
Diffstat (limited to 'src')
-rw-r--r--src/mint-tools/taler-mint-reservemod.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mint-tools/taler-mint-reservemod.c b/src/mint-tools/taler-mint-reservemod.c
index 5bb6bce46..8607c6dbf 100644
--- a/src/mint-tools/taler-mint-reservemod.c
+++ b/src/mint-tools/taler-mint-reservemod.c
@@ -153,14 +153,6 @@ main (int argc, char *const *argv)
"Failed to initialize DB session\n");
goto cleanup;
}
- if (GNUNET_OK !=
- plugin->start (plugin->cls,
- session))
- {
- fprintf (stderr,
- "Failed to start transaction\n");
- goto cleanup;
- }
expiration = GNUNET_TIME_relative_to_absolute (RESERVE_EXPIRATION);
if (GNUNET_OK !=
plugin->reserves_in_insert (plugin->cls,
@@ -174,14 +166,6 @@ main (int argc, char *const *argv)
"Failed to update reserve.\n");
goto cleanup;
}
- if (GNUNET_OK !=
- plugin->commit (plugin->cls,
- session))
- {
- fprintf (stderr,
- "Failed to commit transaction\n");
- goto cleanup;
- }
ret = 0;
cleanup:
if (NULL != plugin)