summaryrefslogtreecommitdiff
path: root/src/auditor/taler-helper-auditor-coins.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-19 11:55:09 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-19 11:55:09 +0200
commit2afcc8c70202c10b71f98c9e4b9766ae08656459 (patch)
tree783a86d49188ee615f338d18793878dc398c522b /src/auditor/taler-helper-auditor-coins.c
parentdfe576f9379954ab8164da7521bef930d3af3948 (diff)
downloadexchange-2afcc8c70202c10b71f98c9e4b9766ae08656459.tar.gz
exchange-2afcc8c70202c10b71f98c9e4b9766ae08656459.tar.bz2
exchange-2afcc8c70202c10b71f98c9e4b9766ae08656459.zip
complete coin history DB logic to properly handle new ETags
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r--src/auditor/taler-helper-auditor-coins.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index 8c3d66b98..f873fa3cb 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -435,14 +435,16 @@ check_coin_history (const struct TALER_CoinSpendPublicKeyP *coin_pub,
struct TALER_Amount refunded;
struct TALER_Amount deposit_fee;
bool have_refund;
- uint64_t etag = 0;
+ uint64_t etag_out;
/* 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,
- &etag,
+ 0,
+ 0,
+ &etag_out,
&tl);
if (0 >= qs)
return qs;