diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-29 01:15:41 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-29 01:15:41 +0200 |
commit | 85350ced32108f2ec69fbf62e0a7c3b256840fb1 (patch) | |
tree | ca8370f99feae0fb55dad2b5b13f0175e242fdcd /src/benchmark | |
parent | 5d58316d884e660ff9a83a6e7a4bd34ae4c8e734 (diff) | |
download | exchange-85350ced32108f2ec69fbf62e0a7c3b256840fb1.tar.xz |
rename proposal_data to contract_terms (see #4879)
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 66843f2ac..70cc014e7 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -826,7 +826,7 @@ spend_coin (struct Coin *coin, struct GNUNET_TIME_Absolute wire_deadline; struct GNUNET_TIME_Absolute timestamp; struct GNUNET_TIME_Absolute refund_deadline; - struct GNUNET_HashCode h_proposal_data; + struct GNUNET_HashCode h_contract_terms; struct TALER_CoinSpendPublicKeyP coin_pub; struct TALER_DepositRequestPS dr; struct TALER_MerchantPublicKeyP merchant_pub; @@ -835,8 +835,8 @@ spend_coin (struct Coin *coin, GNUNET_CRYPTO_eddsa_key_get_public (&coin->coin_priv.eddsa_priv, &coin_pub.eddsa_pub); GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, - &h_proposal_data, - sizeof (h_proposal_data)); + &h_contract_terms, + sizeof (h_contract_terms)); timestamp = GNUNET_TIME_absolute_get (); wire_deadline = GNUNET_TIME_absolute_add (timestamp, GNUNET_TIME_UNIT_WEEKS); @@ -882,7 +882,7 @@ spend_coin (struct Coin *coin, memset (&dr, 0, sizeof (dr)); dr.purpose.size = htonl (sizeof (struct TALER_DepositRequestPS)); dr.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_COIN_DEPOSIT); - dr.h_proposal_data = h_proposal_data; + dr.h_contract_terms = h_contract_terms; TALER_JSON_hash (merchant_details, &dr.h_wire); @@ -908,7 +908,7 @@ spend_coin (struct Coin *coin, &amount, wire_deadline, merchant_details, - &h_proposal_data, + &h_contract_terms, &coin_pub, &coin->sig, &coin->pk->key, |