aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-depositcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-depositcheck.c')
-rw-r--r--src/backend/taler-merchant-depositcheck.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-depositcheck.c b/src/backend/taler-merchant-depositcheck.c
index 5fec222f..9576f04b 100644
--- a/src/backend/taler-merchant-depositcheck.c
+++ b/src/backend/taler-merchant-depositcheck.c
@@ -432,6 +432,7 @@ deposit_get_cb (void *cls,
qs = db_plugin->update_deposit_confirmation_status (
db_plugin->cls,
w->deposit_serial,
+ false, /* we are done, wire_pending is now false */
GNUNET_TIME_absolute_to_timestamp (future_retry),
w->retry_backoff,
NULL);
@@ -483,6 +484,8 @@ deposit_get_cb (void *cls,
qs = db_plugin->update_deposit_confirmation_status (
db_plugin->cls,
w->deposit_serial,
+ false, /* we are blocked on KYC, wire_pending is now false */
+ /* FIXME: once the KYC is done, is there logic to get this back to TRUE? */
GNUNET_TIME_absolute_to_timestamp (future_retry),
w->retry_backoff,
"Exchange reported 202 Accepted but no KYC block");
@@ -512,6 +515,7 @@ deposit_get_cb (void *cls,
qs = db_plugin->update_deposit_confirmation_status (
db_plugin->cls,
w->deposit_serial,
+ true, /* this failed, wire_pending remains true */
GNUNET_TIME_absolute_to_timestamp (future_retry),
w->retry_backoff,
msg);
@@ -530,6 +534,7 @@ deposit_get_cb (void *cls,
w_tail,
w);
w_count--;
+ GNUNET_free (w->instance_id);
GNUNET_free (w);
GNUNET_assert (NULL != keys);
if ( (w_count < CONCURRENCY_LIMIT / 2) ||