summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_pay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r--src/backend/taler-merchant-httpd_pay.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c
index b112edf5..eee23c12 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -1651,7 +1651,10 @@ begin_transaction (struct PayContext *pc)
GNUNET_assert (GNUNET_YES == pc->suspended);
/* First, try to see if we have all we need already done */
- if (GNUNET_OK != db->start (db->cls))
+ db->preflight (db->cls);
+ if (GNUNET_OK !=
+ db->start (db->cls,
+ "run pay"))
{
GNUNET_break (0);
resume_pay_with_error (pc,