aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-27 11:11:45 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-27 11:11:45 +0100
commit4856d8114c971fb37a5b913437f22fbc7ceb6fa9 (patch)
tree6ef8a64a7ce7b13738373f82ae3821ca1960fa01
parent1ced0438c2d5f18c1bc1446a5a505733227302a1 (diff)
fix inconsistency in field naming
-rw-r--r--src/auditor/taler-helper-auditor-coins.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index 7c5ce4b14..b292da8bc 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -1323,7 +1323,7 @@ refresh_session_cb (void *cls,
"row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount (
amount_with_fee),
- "key_pub", GNUNET_JSON_from_data_auto (
+ "coin_pub", GNUNET_JSON_from_data_auto (
coin_pub)));
GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss,
@@ -1665,7 +1665,7 @@ deposit_cb (void *cls,
"row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount (
amount_with_fee),
- "key_pub", GNUNET_JSON_from_data_auto (
+ "coin_pub", GNUNET_JSON_from_data_auto (
coin_pub)));
GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss,
@@ -1690,7 +1690,7 @@ deposit_cb (void *cls,
"row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount (
amount_with_fee),
- "key_pub", GNUNET_JSON_from_data_auto (
+ "coin_pub", GNUNET_JSON_from_data_auto (
coin_pub)));
GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss,
@@ -1861,8 +1861,8 @@ refund_cb (void *cls,
"row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount (
amount_with_fee),
- "key_pub", GNUNET_JSON_from_data_auto (
- merchant_pub)));
+ "coin_pub", GNUNET_JSON_from_data_auto (
+ coin_pub)));
GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss,
&total_bad_sig_loss,
@@ -1971,7 +1971,7 @@ check_recoup (struct CoinContext *cc,
"operation", operation,
"row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount (amount),
- "key_pub", GNUNET_JSON_from_data_auto (
+ "coin_pub", GNUNET_JSON_from_data_auto (
&coin->denom_pub_hash)));
GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss,