diff options
author | Florian Dold <dold@inria.fr> | 2015-12-25 18:52:22 +0100 |
---|---|---|
committer | Florian Dold <dold@inria.fr> | 2015-12-25 18:52:22 +0100 |
commit | 786705c19d01f2d27b0b6dacd5718ab53d261325 (patch) | |
tree | 710e4b2c3df61dfe57df84f64b1d0c169375ab7d /src | |
parent | 15c3577722c2586b5243fd6d23966b49c59f08be (diff) |
Add lots of logging.
Diffstat (limited to 'src')
-rw-r--r-- | src/mint-lib/mint_api_deposit.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mint-lib/mint_api_deposit.c b/src/mint-lib/mint_api_deposit.c index 4b49e46a3..8f7b6db06 100644 --- a/src/mint-lib/mint_api_deposit.c +++ b/src/mint-lib/mint_api_deposit.c @@ -319,6 +319,16 @@ verify_signatures (const struct TALER_MINT_DenomPublicKey *dki, &coin_pub->eddsa_pub)) { TALER_LOG_WARNING ("Invalid coin signature on /deposit request\n"); + { + char *s; + s = TALER_amount_to_string (amount); + TALER_LOG_DEBUG ("... amount_with_fee was %s\n", s); + GNUNET_free (s); + s = TALER_amount_to_string (&dki->fee_deposit); + TALER_LOG_DEBUG ("... deposit_fee was %s\n", s); + GNUNET_free (s); + } + return GNUNET_SYSERR; } @@ -498,7 +508,7 @@ TALER_MINT_deposit (struct TALER_MINT_Handle *mint, JSON_COMPACT))); json_decref (deposit_obj); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "URL for deposit: `%s'", + "URL for deposit: `%s'\n", dh->url); GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, |