aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-11-25 13:36:29 +0100
committerChristian Grothoff <christian@grothoff.org>2015-11-25 13:36:29 +0100
commitea27c569209d7b9d04e965ef070ad6a744f76f2d (patch)
tree297157102f1d02939f8a2cea9ff4e466596b1b7f /src
parent4c80119b30c4a9946cb4bfb05363c543ba955bb6 (diff)
get rid of marcello's printf()-style debugging with compiler warnings...
Diffstat (limited to 'src')
-rw-r--r--src/mint-lib/mint_api_deposit.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mint-lib/mint_api_deposit.c b/src/mint-lib/mint_api_deposit.c
index bf00ffa28..541317763 100644
--- a/src/mint-lib/mint_api_deposit.c
+++ b/src/mint-lib/mint_api_deposit.c
@@ -312,39 +312,6 @@ verify_signatures (const struct TALER_MINT_DenomPublicKey *dki,
&dki->fee_deposit);
dr.merchant = *merchant_pub;
dr.coin_pub = *coin_pub;
-
- char *contract_str = GNUNET_STRINGS_data_to_string_alloc (h_contract,
- sizeof (struct GNUNET_HashCode));
- char *wire_str = GNUNET_STRINGS_data_to_string_alloc (h_wire,
- sizeof (struct GNUNET_HashCode));
- char *merchant_pub_str = GNUNET_STRINGS_data_to_string_alloc (merchant_pub,
- sizeof (struct TALER_MerchantPublicKeyP));
- char *coin_pub_str = GNUNET_STRINGS_data_to_string_alloc (coin_pub,
- sizeof (struct TALER_CoinSpendPublicKeyP));
- printf ("verifying:\ncontract [%s]\nwire [%s]\n"
- "timestamp [%llu]\nrefund deadline [%llu]\n"
- "transaction id [%llu]\namount [%s %llu.%lu]\n"
- "fee deposit [%s %llu.%lu]\nmerch pub [%s]\n"
- "coin pub [%s]\n",
- contract_str,
- wire_str,
- timestamp.abs_value_us,
- refund_deadline.abs_value_us,
- transaction_id,
- amount->currency,
- amount->value,
- amount->fraction,
- dki->fee_deposit.currency,
- dki->fee_deposit.value,
- dki->fee_deposit.fraction,
- merchant_pub_str,
- coin_pub_str);
-
- GNUNET_free (contract_str);
- GNUNET_free (wire_str);
- GNUNET_free (merchant_pub_str);
- GNUNET_free (coin_pub_str);
-
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_WALLET_COIN_DEPOSIT,
&dr.purpose,