summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-01-15 14:34:13 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2020-01-15 14:34:35 +0100
commitd822035216d9ad33665a2f8274432918ca7d42be (patch)
tree6534cd7ed8bf3b5d1268a4eac93fc2b052635178 /src/exchange/taler-exchange-aggregator.c
parent0c37bb0f906b61e8484be61abddce58b729575eb (diff)
downloadexchange-d822035216d9ad33665a2f8274432918ca7d42be.tar.gz
exchange-d822035216d9ad33665a2f8274432918ca7d42be.tar.bz2
exchange-d822035216d9ad33665a2f8274432918ca7d42be.zip
Remove preflight checks where redundant.
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 40577b0cc..fe3ef39cc 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -1247,8 +1247,7 @@ run_reserve_closures (void *cls)
GNUNET_SCHEDULER_shutdown ();
return;
}
- db_plugin->preflight (db_plugin->cls,
- session);
+
if (GNUNET_OK !=
db_plugin->start (db_plugin->cls,
session,
@@ -1798,8 +1797,6 @@ run_transfers (void *cls)
GNUNET_SCHEDULER_shutdown ();
return;
}
- db_plugin->preflight (db_plugin->cls,
- session);
if (GNUNET_OK !=
db_plugin->start (db_plugin->cls,
session,