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/exchangedb/perf_taler_exchangedb_init.c | |
parent | 5d58316d884e660ff9a83a6e7a4bd34ae4c8e734 (diff) | |
download | exchange-85350ced32108f2ec69fbf62e0a7c3b256840fb1.tar.xz |
rename proposal_data to contract_terms (see #4879)
Diffstat (limited to 'src/exchangedb/perf_taler_exchangedb_init.c')
-rw-r--r-- | src/exchangedb/perf_taler_exchangedb_init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchangedb/perf_taler_exchangedb_init.c b/src/exchangedb/perf_taler_exchangedb_init.c index 967f74730..c46bea22d 100644 --- a/src/exchangedb/perf_taler_exchangedb_init.c +++ b/src/exchangedb/perf_taler_exchangedb_init.c @@ -209,7 +209,7 @@ PERF_TALER_EXCHANGEDB_deposit_init (const struct PERF_TALER_EXCHANGEDB_Coin *coi struct TALER_EXCHANGEDB_Deposit *deposit; struct TALER_CoinSpendSignatureP csig; struct TALER_MerchantPublicKeyP merchant_pub; - struct GNUNET_HashCode h_proposal_data; + struct GNUNET_HashCode h_contract_terms; struct GNUNET_HashCode h_wire; const char wire[] = "{" "\"type\":\"SEPA\"," @@ -225,7 +225,7 @@ PERF_TALER_EXCHANGEDB_deposit_init (const struct PERF_TALER_EXCHANGEDB_Coin *coi GNUNET_assert (NULL != (deposit = GNUNET_malloc (sizeof (struct TALER_EXCHANGEDB_Deposit) + sizeof (wire)))); GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, - &h_proposal_data); + &h_contract_terms); GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &h_wire); { //csig @@ -233,10 +233,10 @@ PERF_TALER_EXCHANGEDB_deposit_init (const struct PERF_TALER_EXCHANGEDB_Coin *coi { struct GNUNET_CRYPTO_EccSignaturePurpose purpose; struct GNUNET_HashCode h_wire; - struct GNUNET_HashCode h_proposal_data; + struct GNUNET_HashCode h_contract_terms; } unsigned_data; - unsigned_data.h_proposal_data = h_proposal_data; + unsigned_data.h_contract_terms = h_contract_terms; unsigned_data.h_wire = h_wire; unsigned_data.purpose.size = htonl (sizeof (struct u32_presign)); unsigned_data.purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_TEST); @@ -273,7 +273,7 @@ PERF_TALER_EXCHANGEDB_deposit_init (const struct PERF_TALER_EXCHANGEDB_Coin *coi GNUNET_assert (NULL != coin->public_info.denom_sig.rsa_signature); } deposit->csig = csig; - deposit->h_proposal_data = h_proposal_data; + deposit->h_contract_terms = h_contract_terms; deposit->h_wire = h_wire; deposit->receiver_wire_account = json_loads (wire, 0, NULL); deposit->timestamp = timestamp; |