summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-26 21:18:53 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-26 21:18:53 +0200
commit80c2153d8bd49b34dafb3f29024724403be3aa94 (patch)
tree149f5f6e37c643f9edf16deef58aac77b470af1a /src/lib
parente39cd3ad14e4608afdacf21c2f003d47597e9ab0 (diff)
downloadexchange-80c2153d8bd49b34dafb3f29024724403be3aa94.tar.gz
exchange-80c2153d8bd49b34dafb3f29024724403be3aa94.tar.bz2
exchange-80c2153d8bd49b34dafb3f29024724403be3aa94.zip
log decision on auditor DC
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_deposit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/exchange_api_deposit.c b/src/lib/exchange_api_deposit.c
index cb3e29588..48f9a06bb 100644
--- a/src/lib/exchange_api_deposit.c
+++ b/src/lib/exchange_api_deposit.c
@@ -136,7 +136,14 @@ auditor_cb (void *cls,
if (0 != GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
dh->auditor_chance))
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Not providing deposit confirmation to auditor\n");
return NULL;
+ }
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Will provide deposit confirmation to auditor `%s'\n",
+ TALER_B2S (auditor_pub));
key_state = TALER_EXCHANGE_get_keys (dh->exchange);
spk = TALER_EXCHANGE_get_signing_key_details (key_state,
&dh->exchange_pub);