summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-11-01 18:05:01 +0100
committerChristian Grothoff <grothoff@gnunet.org>2021-11-01 18:05:01 +0100
commit22ce5bff77e922bc0f679e7f450a66dc5f27f148 (patch)
treea01fe1b0c859869559d4fffb7315fc210a9b4ec3 /src/exchange/taler-exchange-aggregator.c
parent5b3a468d3878a2d0e39dd71da07d0fd85544632e (diff)
downloadexchange-22ce5bff77e922bc0f679e7f450a66dc5f27f148.tar.gz
exchange-22ce5bff77e922bc0f679e7f450a66dc5f27f148.tar.bz2
exchange-22ce5bff77e922bc0f679e7f450a66dc5f27f148.zip
fix sharding
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 69c8dc5b7..94efe28f3 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -319,7 +319,7 @@ parse_wirewatch_config (void)
* @param amount_with_fee what was the refunded amount with the fee
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop
*/
-static int
+static enum GNUNET_GenericReturnValue
refund_by_coin_cb (void *cls,
const struct TALER_Amount *amount_with_fee)
{
@@ -768,8 +768,9 @@ run_aggregation (void *cls)
/* Now try to find other deposits to aggregate */
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Found ready deposit for %s, aggregating\n",
- TALER_B2S (&au_active.merchant_pub));
+ "Found ready deposit for %s, aggregating by target %llu\n",
+ TALER_B2S (&au_active.merchant_pub),
+ (unsigned long long) au_active.wire_target);
qs = db_plugin->iterate_matching_deposits (db_plugin->cls,
au_active.wire_target,
&au_active.merchant_pub,