diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-13 21:41:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-13 21:41:27 +0100 |
commit | 99847d50a7f6187e0327d825ec21df620bed952e (patch) | |
tree | d08951a3566154192e47da1f1fb76bbab248dbc4 /src/util | |
parent | 9c3fd5dff7e3ce23b72d748fb566786432c7d4cf (diff) |
improve logging
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/wallet_signatures.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/wallet_signatures.c b/src/util/wallet_signatures.c index 0b6ab5432..ebdb7eab9 100644 --- a/src/util/wallet_signatures.c +++ b/src/util/wallet_signatures.c @@ -201,6 +201,16 @@ TALER_wallet_deposit_verify ( amount); TALER_amount_hton (&dr.deposit_fee, deposit_fee); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Validating deposit with hash %s, wallet timestamp %llu and refund deadline %llu by %s\n", + GNUNET_h2s (&h_contract_terms->hash), + (unsigned long long) wallet_timestamp.abs_time.abs_value_us, + (unsigned long long) refund_deadline.abs_time.abs_value_us, + TALER_B2S (merchant_pub)); + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Denomination is %s, wire target is %s\n", + GNUNET_h2s (&h_denom_pub->hash), + TALER_B2S (h_wire)); if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_COIN_DEPOSIT, &dr, |