diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 23:49:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 23:49:37 +0100 |
commit | db669ee495a29384c6d592cb1080db58e832a649 (patch) | |
tree | 0bbc1a119098467eb731cd53c59d9df4dba079d7 /src/lib/exchange_api_common.c | |
parent | 6e17a847e8267ae10beaa8fc849bf10517088ab2 (diff) |
payback -> recoup stranglers
Diffstat (limited to 'src/lib/exchange_api_common.c')
-rw-r--r-- | src/lib/exchange_api_common.c | 10 |
1 files changed, 5 insertions, 5 deletions
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)) |