summaryrefslogtreecommitdiff
path: root/src/auditor/taler-helper-auditor-coins.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-05 23:00:15 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-05 23:00:41 +0200
commit35873463b830a16a00f167a2ac9e146d0396bbb2 (patch)
treed61a630aa67d67ae65debd1d687610055462ddef /src/auditor/taler-helper-auditor-coins.c
parentd9df371f03e65284b52c13877012c6cd716845d3 (diff)
downloadexchange-35873463b830a16a00f167a2ac9e146d0396bbb2.tar.gz
exchange-35873463b830a16a00f167a2ac9e146d0396bbb2.tar.bz2
exchange-35873463b830a16a00f167a2ac9e146d0396bbb2.zip
-fixing missing '/' at end of paths in Debian package, implement coin history logicv0.9.4-dev.1
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r--src/auditor/taler-helper-auditor-coins.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index f873fa3cb..bc1598b07 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -440,12 +440,19 @@ check_coin_history (const struct TALER_CoinSpendPublicKeyP *coin_pub,
/* TODO: could use 'etag' mechanism to only fetch transactions
we did not yet process, instead of going over them
again and again. */
- qs = TALER_ARL_edb->get_coin_transactions (TALER_ARL_edb->cls,
- coin_pub,
- 0,
- 0,
- &etag_out,
- &tl);
+ {
+ struct TALER_Amount balance;
+ struct TALER_DenominationHashP h_denom_pub;
+
+ qs = TALER_ARL_edb->get_coin_transactions (TALER_ARL_edb->cls,
+ coin_pub,
+ 0,
+ 0,
+ &etag_out,
+ &balance,
+ &h_denom_pub,
+ &tl);
+ }
if (0 >= qs)
return qs;
GNUNET_assert (GNUNET_OK ==