commit 83253275c08fac583fa32c209d9cdc905ffde41a
parent c29aa03a041a9297ebba799ddfc2bd3843262a99
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 21 Aug 2024 21:15:42 +0200
-fix typo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
@@ -532,7 +532,7 @@ check_coin_history (const struct TALER_CoinSpendPublicKeyP *coin_pub,
case TALER_EXCHANGEDB_TT_PURSE_REFUND:
TALER_ARL_amount_add (&refunded,
&refunded,
- &tl->details.purse_refund->refund_amount);
+ &pos->details.purse_refund->refund_amount);
TALER_ARL_amount_add (&spent,
&spent,
&pos->details.purse_refund->refund_fee);
@@ -541,7 +541,7 @@ check_coin_history (const struct TALER_CoinSpendPublicKeyP *coin_pub,
case TALER_EXCHANGEDB_TT_RESERVE_OPEN:
TALER_ARL_amount_add (&spent,
&spent,
- &tl->details.reserve_open->coin_contribution);
+ &pos->details.reserve_open->coin_contribution);
break;
} /* switch (pos->type) */
} /* for (...) */