diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 14:36:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 14:36:49 +0100 |
commit | c87722791debda4961f514d34b32b3f2775eaac9 (patch) | |
tree | c04496dbd827220b37fd25b2ff970d62085beae2 /src/exchangedb/exchangedb_fees.c | |
parent | 5583b7a0595fe5c91943419ea46260fe7f7b9e9c (diff) | |
download | exchange-c87722791debda4961f514d34b32b3f2775eaac9.tar.xz |
doxygen
Diffstat (limited to 'src/exchangedb/exchangedb_fees.c')
-rw-r--r-- | src/exchangedb/exchangedb_fees.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchangedb/exchangedb_fees.c b/src/exchangedb/exchangedb_fees.c index c025604fa..83f4f2590 100644 --- a/src/exchangedb/exchangedb_fees.c +++ b/src/exchangedb/exchangedb_fees.c @@ -144,12 +144,12 @@ TALER_EXCHANGEDB_fees_read (const struct GNUNET_CONFIGURATION_Handle *cfg, /** * Convert @a af to @a wf. * - * @param method name of the wire method the fees are for + * @param wiremethod name of the wire method the fees are for * @param[in,out] af aggregate fees, host format (updated to round time) * @param[out] wf aggregate fees, disk / signature format */ void -TALER_EXCHANGEDB_fees_2_wf (const char *method, +TALER_EXCHANGEDB_fees_2_wf (const char *wiremethod, struct TALER_EXCHANGEDB_AggregateFees *af, struct TALER_MasterWireFeePS *wf) { @@ -157,8 +157,8 @@ TALER_EXCHANGEDB_fees_2_wf (const char *method, (void) GNUNET_TIME_round_abs (&af->end_date); wf->purpose.size = htonl (sizeof (*wf)); wf->purpose.purpose = htonl (TALER_SIGNATURE_MASTER_WIRE_FEES); - GNUNET_CRYPTO_hash (method, - strlen (method) + 1, + GNUNET_CRYPTO_hash (wiremethod, + strlen (wiremethod) + 1, &wf->h_wire_method); wf->start_date = GNUNET_TIME_absolute_hton (af->start_date); wf->end_date = GNUNET_TIME_absolute_hton (af->end_date); |