exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 4856d8114c971fb37a5b913437f22fbc7ceb6fa9
parent 1ced0438c2d5f18c1bc1446a5a505733227302a1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 27 Mar 2020 11:11:45 +0100

fix inconsistency in field naming

Diffstat:
Msrc/auditor/taler-helper-auditor-coins.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 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,