fix inconsistency in field naming

This commit is contained in:
Christian Grothoff 2020-03-27 11:11:45 +01:00
parent 1ced0438c2
commit 4856d8114c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1323,7 +1323,7 @@ refresh_session_cb (void *cls,
"row", (json_int_t) rowid, "row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount ( "loss", TALER_JSON_from_amount (
amount_with_fee), amount_with_fee),
"key_pub", GNUNET_JSON_from_data_auto ( "coin_pub", GNUNET_JSON_from_data_auto (
coin_pub))); coin_pub)));
GNUNET_assert (GNUNET_OK == GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss, TALER_amount_add (&total_bad_sig_loss,
@ -1665,7 +1665,7 @@ deposit_cb (void *cls,
"row", (json_int_t) rowid, "row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount ( "loss", TALER_JSON_from_amount (
amount_with_fee), amount_with_fee),
"key_pub", GNUNET_JSON_from_data_auto ( "coin_pub", GNUNET_JSON_from_data_auto (
coin_pub))); coin_pub)));
GNUNET_assert (GNUNET_OK == GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss, TALER_amount_add (&total_bad_sig_loss,
@ -1690,7 +1690,7 @@ deposit_cb (void *cls,
"row", (json_int_t) rowid, "row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount ( "loss", TALER_JSON_from_amount (
amount_with_fee), amount_with_fee),
"key_pub", GNUNET_JSON_from_data_auto ( "coin_pub", GNUNET_JSON_from_data_auto (
coin_pub))); coin_pub)));
GNUNET_assert (GNUNET_OK == GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss, TALER_amount_add (&total_bad_sig_loss,
@ -1861,8 +1861,8 @@ refund_cb (void *cls,
"row", (json_int_t) rowid, "row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount ( "loss", TALER_JSON_from_amount (
amount_with_fee), amount_with_fee),
"key_pub", GNUNET_JSON_from_data_auto ( "coin_pub", GNUNET_JSON_from_data_auto (
merchant_pub))); coin_pub)));
GNUNET_assert (GNUNET_OK == GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss, TALER_amount_add (&total_bad_sig_loss,
&total_bad_sig_loss, &total_bad_sig_loss,
@ -1971,7 +1971,7 @@ check_recoup (struct CoinContext *cc,
"operation", operation, "operation", operation,
"row", (json_int_t) rowid, "row", (json_int_t) rowid,
"loss", TALER_JSON_from_amount (amount), "loss", TALER_JSON_from_amount (amount),
"key_pub", GNUNET_JSON_from_data_auto ( "coin_pub", GNUNET_JSON_from_data_auto (
&coin->denom_pub_hash))); &coin->denom_pub_hash)));
GNUNET_assert (GNUNET_OK == GNUNET_assert (GNUNET_OK ==
TALER_amount_add (&total_bad_sig_loss, TALER_amount_add (&total_bad_sig_loss,