aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-helper-auditor-coins.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-21 21:15:42 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-21 21:15:42 +0200
commit83253275c08fac583fa32c209d9cdc905ffde41a (patch)
tree3fa291acb9657b61623a196aff9ba487e169efec /src/auditor/taler-helper-auditor-coins.c
parentc29aa03a041a9297ebba799ddfc2bd3843262a99 (diff)
downloadexchange-83253275c08fac583fa32c209d9cdc905ffde41a.tar.xz
-fix typo
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r--src/auditor/taler-helper-auditor-coins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index b3bc4cbe6..e657b1371 100644
--- 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 (...) */