diff options
Diffstat (limited to 'src/backend/taler-merchant-depositcheck.c')
-rw-r--r-- | src/backend/taler-merchant-depositcheck.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/backend/taler-merchant-depositcheck.c b/src/backend/taler-merchant-depositcheck.c index ca9c635d..cfcae7d9 100644 --- a/src/backend/taler-merchant-depositcheck.c +++ b/src/backend/taler-merchant-depositcheck.c @@ -414,6 +414,7 @@ deposit_get_cb ( struct ExchangeInteraction *w = cls; struct GNUNET_TIME_Absolute future_retry; + w->dgh = NULL; future_retry = GNUNET_TIME_relative_to_absolute (w->retry_backoff); switch (dr->hr.http_status) @@ -463,19 +464,13 @@ deposit_get_cb ( dr->details.accepted.kyc_ok, TALER_B2S (&w->coin_pub)); now = GNUNET_TIME_timestamp_get (); - /* FIXME: probably should NOT clobber limits, etc, and - ONLY set kyc_ok (always to false?) */ - qs = db_plugin->account_kyc_set_status ( + qs = db_plugin->account_kyc_set_failed ( db_plugin->cls, w->instance_id, &w->h_wire, exchange_url, now, MHD_HTTP_ACCEPTED, - TALER_EC_NONE, - NULL, - NULL, - false, dr->details.accepted.kyc_ok); if (qs < 0) { |