From db669ee495a29384c6d592cb1080db58e832a649 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jan 2020 23:49:37 +0100 Subject: payback -> recoup stranglers --- src/lib/exchange_api_common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/exchange_api_common.c') diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c index 556ca2049..ae02b3db2 100644 --- a/src/lib/exchange_api_common.c +++ b/src/lib/exchange_api_common.c @@ -277,9 +277,9 @@ TALER_EXCHANGE_verify_coin_history (const struct add = GNUNET_NO; } else if (0 == strcasecmp (type, - "PAYBACK")) + "RECOUP")) { - struct TALER_PaybackConfirmationPS pc; + struct TALER_RecoupConfirmationPS pc; struct TALER_ExchangePublicKeyP exchange_pub; struct TALER_ExchangeSignatureP exchange_sig; struct GNUNET_JSON_Specification spec[] = { @@ -303,12 +303,12 @@ TALER_EXCHANGE_verify_coin_history (const struct return GNUNET_SYSERR; } pc.purpose.size = htonl (sizeof (pc)); - pc.purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_CONFIRM_PAYBACK); + pc.purpose.purpose = htonl (TALER_SIGNATURE_EXCHANGE_CONFIRM_RECOUP); pc.coin_pub = *coin_pub; - TALER_amount_hton (&pc.payback_amount, + TALER_amount_hton (&pc.recoup_amount, &amount); if (GNUNET_OK != - GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_EXCHANGE_CONFIRM_PAYBACK, + GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_EXCHANGE_CONFIRM_RECOUP, &pc.purpose, &exchange_sig.eddsa_signature, &exchange_pub.eddsa_pub)) -- cgit v1.2.3