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/exchange/taler-exchange-httpd_refresh_melt.c | |
parent | 6e17a847e8267ae10beaa8fc849bf10517088ab2 (diff) | |
download | exchange-db669ee495a29384c6d592cb1080db58e832a649.tar.gz exchange-db669ee495a29384c6d592cb1080db58e832a649.tar.bz2 exchange-db669ee495a29384c6d592cb1080db58e832a649.zip |
payback -> recoup stranglers
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refresh_melt.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh_melt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_melt.c b/src/exchange/taler-exchange-httpd_refresh_melt.c index 91ca58e5f..71200037d 100644 --- a/src/exchange/taler-exchange-httpd_refresh_melt.c +++ b/src/exchange/taler-exchange-httpd_refresh_melt.c @@ -156,7 +156,7 @@ struct RefreshMeltContext /** * Set to #GNUNET_YES if this coin's denomination was revoked and the operation * is thus only allowed for zombie coins where the transaction - * history includes a #TALER_EXCHANGEDB_TT_OLD_COIN_PAYBACK. + * history includes a #TALER_EXCHANGEDB_TT_OLD_COIN_RECOUP. */ int zombie_required; @@ -186,7 +186,7 @@ refresh_check_melt (struct MHD_Connection *connection, /* Start with cost of this melt transaction */ spent = rmc->refresh_session.amount_with_fee; - /* add historic transaction costs of this coin, including paybacks as + /* add historic transaction costs of this coin, including recoups as we might be a zombie coin */ qs = TEH_plugin->get_coin_transactions (TEH_plugin->cls, session, @@ -208,7 +208,7 @@ refresh_check_melt (struct MHD_Connection *connection, NULL != tp; tp = tp->next) { - if (TALER_EXCHANGEDB_TT_OLD_COIN_PAYBACK == tp->type) + if (TALER_EXCHANGEDB_TT_OLD_COIN_RECOUP == tp->type) { rmc->zombie_required = GNUNET_NO; /* was satisfied! */ break; @@ -471,7 +471,7 @@ check_for_denomination_key (struct MHD_Connection *connection, dki = TEH_KS_denomination_key_lookup_by_hash (key_state, &rmc->refresh_session.coin. denom_pub_hash, - TEH_KS_DKU_PAYBACK, + TEH_KS_DKU_RECOUP, &ec, &hc); if (NULL != dki) @@ -504,7 +504,7 @@ check_for_denomination_key (struct MHD_Connection *connection, } /* Consider the case that the denomination expired for deposits, - but /refresh/payback refilled the balance of the 'zombie' coin + but /refresh/recoup refilled the balance of the 'zombie' coin and we should thus allow the refresh during the legal period. */ if (NULL == dki) { |