From 80c2153d8bd49b34dafb3f29024724403be3aa94 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 26 Oct 2019 21:18:53 +0200 Subject: log decision on auditor DC --- src/lib/exchange_api_deposit.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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); -- cgit v1.2.3