diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-29 04:16:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-29 04:16:00 +0200 |
commit | 2b27d4ca8be9d8228f4dbf52c4d59be9a91b6bbe (patch) | |
tree | 7745d848fa705eae9ac8480890f51547a1e67adb /src/exchange | |
parent | 0582a6b567eb09c559564f5cae1908584116cc38 (diff) | |
download | exchange-2b27d4ca8be9d8228f4dbf52c4d59be9a91b6bbe.tar.gz exchange-2b27d4ca8be9d8228f4dbf52c4d59be9a91b6bbe.tar.bz2 exchange-2b27d4ca8be9d8228f4dbf52c4d59be9a91b6bbe.zip |
remove bogus warnings
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_deposit.c | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_refund.c | 1 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_withdraw.c | 7 |
3 files changed, 5 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c index 4df2c32cd..3ce46b2c9 100644 --- a/src/exchange/taler-exchange-httpd_deposit.c +++ b/src/exchange/taler-exchange-httpd_deposit.c @@ -221,7 +221,7 @@ deposit_transaction (void *cls, if (0 < TALER_amount_cmp (&spent, &dc->value)) { - GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Deposited coin has insufficient funds left!\n"); *mhd_ret = TEH_RESPONSE_reply_coin_insufficient_funds (connection, TALER_EC_DEPOSIT_INSUFFICIENT_FUNDS, @@ -417,7 +417,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, &hc); if (NULL == dki) { - TALER_LOG_WARNING ("Unknown denomination key in /deposit request\n"); + TALER_LOG_DEBUG ("Unknown denomination key in /deposit request\n"); TEH_KS_release (key_state); GNUNET_JSON_parse_free (spec); return TALER_MHD_reply_with_error (connection, diff --git a/src/exchange/taler-exchange-httpd_refund.c b/src/exchange/taler-exchange-httpd_refund.c index e590703af..0a9eede5f 100644 --- a/src/exchange/taler-exchange-httpd_refund.c +++ b/src/exchange/taler-exchange-httpd_refund.c @@ -185,7 +185,6 @@ refund_transaction (void *cls, (tlp->details.refund->rtransaction_id != refund->details.rtransaction_id) ) { - GNUNET_break_op (0); /* conflicting refund found */ refund_found = GNUNET_SYSERR; /* NOTE: Alternatively we could total up all existing refunds and check if the sum still permits the diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c index 5665f24fb..bbd926a5c 100644 --- a/src/exchange/taler-exchange-httpd_withdraw.c +++ b/src/exchange/taler-exchange-httpd_withdraw.c @@ -250,7 +250,6 @@ withdraw_transaction (void *cls, /* The reserve does not have the required amount (actual * amount + withdraw fee) */ - GNUNET_break_op (0); #if GNUNET_EXTRA_LOGGING { char *amount_required; @@ -258,9 +257,9 @@ withdraw_transaction (void *cls, amount_required = TALER_amount_to_string (&wc->amount_required); r_balance = TALER_amount_to_string (&r.balance); - TALER_LOG_WARNING ("Asked %s over a reserve worth %s\n", - amount_required, - r_balance); + TALER_LOG_DEBUG ("Asked %s over a reserve worth %s\n", + amount_required, + r_balance); GNUNET_free (amount_required); GNUNET_free (r_balance); } |