diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-reserves.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-reserves.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-reserves.c b/src/backend/taler-merchant-httpd_private-post-reserves.c index 77854a19..01bba5d4 100644 --- a/src/backend/taler-merchant-httpd_private-post-reserves.c +++ b/src/backend/taler-merchant-httpd_private-post-reserves.c @@ -301,11 +301,10 @@ TMH_private_post_reserves (const struct TMH_RequestHandler *rh, &rc->initial_balance, rc->reserve_expiration); GNUNET_break (GNUNET_DB_STATUS_SOFT_ERROR != qs); - // Do this temporarily for testing - qs = TMH_db->activate_reserve (TMH_db->cls, - mi->settings.id, - &reserve_pub, - &rc->initial_balance); + TMH_RESERVES_check (mi->settings.id, + rc->exchange_url, + &reserve_pub, + &rc->initial_balance); if (qs < 0) return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, |