From 35873463b830a16a00f167a2ac9e146d0396bbb2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 5 Oct 2023 23:00:15 +0200 Subject: -fixing missing '/' at end of paths in Debian package, implement coin history logic --- src/auditor/taler-helper-auditor-coins.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/auditor/taler-helper-auditor-coins.c') 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 == -- cgit v1.2.3