log decision on auditor DC

This commit is contained in:
Christian Grothoff 2019-10-26 21:18:53 +02:00
parent e39cd3ad14
commit 80c2153d8b
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -136,7 +136,14 @@ auditor_cb (void *cls,
if (0 != GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, if (0 != GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK,
dh->auditor_chance)) dh->auditor_chance))
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Not providing deposit confirmation to auditor\n");
return NULL; 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); key_state = TALER_EXCHANGE_get_keys (dh->exchange);
spk = TALER_EXCHANGE_get_signing_key_details (key_state, spk = TALER_EXCHANGE_get_signing_key_details (key_state,
&dh->exchange_pub); &dh->exchange_pub);