diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-06 15:41:39 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-06 15:43:06 +0100 |
commit | 8c820b6916841d746475a4f67904272a518a7aa9 (patch) | |
tree | 947ac506f58d92990a7a2dfcfd4a1b7ed9ead48b /src/benchmark | |
parent | 26d5e08816d3a435cb562db5859069206ca95a63 (diff) |
contract terminology renaming (#4877)
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 7b143a189..cdde9b89f 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -831,7 +831,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_contract; + struct GNUNET_HashCode h_proposal_data; struct TALER_CoinSpendPublicKeyP coin_pub; struct TALER_DepositRequestPS dr; struct TALER_MerchantPublicKeyP merchant_pub; @@ -840,8 +840,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_contract, - sizeof (h_contract)); + &h_proposal_data, + sizeof (h_proposal_data)); timestamp = GNUNET_TIME_absolute_get (); wire_deadline = GNUNET_TIME_absolute_add (timestamp, GNUNET_TIME_UNIT_WEEKS); @@ -887,7 +887,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_contract = h_contract; + dr.h_proposal_data = h_proposal_data; TALER_JSON_hash (merchant_details, &dr.h_wire); @@ -914,7 +914,7 @@ spend_coin (struct Coin *coin, &amount, wire_deadline, merchant_details, - &h_contract, + &h_proposal_data, &coin_pub, &coin->sig, &coin->pk->key, |