summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-07-11 09:21:34 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-07-11 09:21:34 +0200
commit8a7bfefa38956a5efc2dcdfc7a82dac0fa282001 (patch)
treed99f6e0f22625dfb23fa5dbbae28e76d39d2155d
parent88ecba945e5d89bfda14f9a169201d303c1892c6 (diff)
downloadexchange-8a7bfefa38956a5efc2dcdfc7a82dac0fa282001.tar.gz
exchange-8a7bfefa38956a5efc2dcdfc7a82dac0fa282001.tar.bz2
exchange-8a7bfefa38956a5efc2dcdfc7a82dac0fa282001.zip
-handle some of the codespell complaints
-rw-r--r--doc/flows/proc-kyc.tex2
-rw-r--r--src/exchange/taler-exchange-httpd_age-withdraw.c2
-rw-r--r--src/exchange/taler-exchange-httpd_age-withdraw_reveal.c2
-rw-r--r--src/include/taler_exchange_service.h2
-rw-r--r--src/lib/exchange_api_link.c6
-rw-r--r--src/lib/exchange_api_refresh_common.c6
-rw-r--r--src/lib/exchange_api_refreshes_reveal.c8
7 files changed, 14 insertions, 14 deletions
diff --git a/doc/flows/proc-kyc.tex b/doc/flows/proc-kyc.tex
index c279052fa..87465f44c 100644
--- a/doc/flows/proc-kyc.tex
+++ b/doc/flows/proc-kyc.tex
@@ -43,7 +43,7 @@
\end{figure}
At the beginning of the KYC process, the user needs to specify whether they
-are an {\bf individual} or a {\bf business}.\footnote{ In pratice, we expect
+are an {\bf individual} or a {\bf business}.\footnote{ In practice, we expect
most wallet-users to be individuals, but in principle a wallet could be owned
by a business.} This then determines which types of attributes are collected
in the KYC process (Table~\ref{table:proc:kyc:individual} vs.
diff --git a/src/exchange/taler-exchange-httpd_age-withdraw.c b/src/exchange/taler-exchange-httpd_age-withdraw.c
index eb7c67c0a..d0dd2e4f6 100644
--- a/src/exchange/taler-exchange-httpd_age-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_age-withdraw.c
@@ -405,7 +405,7 @@ denomination_is_valid (
* @param denom_hs array of hashes of denomination public keys
* @param coin_evs array of blinded coin planchets
* @param[out] denom_serials On success, will be filled with the serial-id's of the denomination keys. Caller must deallocate.
- * @param[out] amount_with_fee On succes, will contain the committed amount including fees
+ * @param[out] amount_with_fee On success, will contain the committed amount including fees
* @param[out] result In the error cases, a response will be queued with MHD and this will be the result.
* @return GNUNET_OK if the denominations are valid and support age-restriction
* GNUNET_SYSERR otherwise
diff --git a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
index ddb1250de..4aa238dfd 100644
--- a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
+++ b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
@@ -221,7 +221,7 @@ find_original_commitment (
return GNUNET_SYSERR;
}
}
- /* after unsuccessfull retries*/
+ /* after unsuccessful retries*/
*result = TALER_MHD_reply_with_ec (connection,
TALER_EC_GENERIC_DB_FETCH_FAILED,
"get_age_withdraw_info");
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 4848ddfdd..ac4bc6c3c 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -536,7 +536,7 @@ struct TALER_EXCHANGE_GetKeysHandle;
/**
- * Fetch the main /keys resources from ane exchange. Does an incremental
+ * Fetch the main /keys resources from an exchange. Does an incremental
* fetch if @a last_keys is given. The obtained information will be passed to
* the @a cert_cb (possibly after first merging it with @a last_keys to
* produce a full picture; expired keys (for deposit) will be removed from @a
diff --git a/src/lib/exchange_api_link.c b/src/lib/exchange_api_link.c
index 86637683b..f408b87d0 100644
--- a/src/lib/exchange_api_link.c
+++ b/src/lib/exchange_api_link.c
@@ -114,7 +114,7 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh,
struct TALER_TransferSecretP secret;
struct TALER_PlanchetDetail pd;
struct TALER_CoinPubHashP c_hash;
- struct TALER_AgeCommitmentHash *pach = NULL;
+ struct TALER_AgeCommitmentHash *pah = NULL;
/* parse reply */
if (GNUNET_OK !=
@@ -155,7 +155,7 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh,
&lci->h_age_commitment);
lci->has_age_commitment = true;
- pach = &lci->h_age_commitment;
+ pah = &lci->h_age_commitment;
}
if (GNUNET_OK !=
@@ -164,7 +164,7 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh,
&alg_values,
&bks,
&lci->coin_priv,
- pach,
+ pah,
&c_hash,
&pd))
{
diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c
index 04c580227..0a6665b55 100644
--- a/src/lib/exchange_api_refresh_common.c
+++ b/src/lib/exchange_api_refresh_common.c
@@ -174,7 +174,7 @@ TALER_EXCHANGE_get_melt_data_ (
struct TALER_PlanchetDetail pd;
struct TALER_CoinPubHashP c_hash;
struct TALER_AgeCommitmentHash ach;
- struct TALER_AgeCommitmentHash *pach = NULL;
+ struct TALER_AgeCommitmentHash *pah = NULL;
TALER_transfer_secret_to_planchet_secret (&trans_sec,
j,
@@ -202,7 +202,7 @@ TALER_EXCHANGE_get_melt_data_ (
TALER_age_commitment_hash (
&fcd->age_commitment_proofs[i]->commitment,
&ach);
- pach = &ach;
+ pah = &ach;
}
if (TALER_DENOMINATION_CS == alg_values[j].cipher)
@@ -213,7 +213,7 @@ TALER_EXCHANGE_get_melt_data_ (
&alg_values[j],
bks,
coin_priv,
- pach,
+ pah,
&c_hash,
&pd))
{
diff --git a/src/lib/exchange_api_refreshes_reveal.c b/src/lib/exchange_api_refreshes_reveal.c
index 3360accd9..220682992 100644
--- a/src/lib/exchange_api_refreshes_reveal.c
+++ b/src/lib/exchange_api_refreshes_reveal.c
@@ -139,7 +139,7 @@ refresh_reveal_ok (struct TALER_EXCHANGE_RefreshesRevealHandle *rrh,
};
struct TALER_FreshCoin coin;
union TALER_DenominationBlindingKeyP bks;
- const struct TALER_AgeCommitmentHash *pach = NULL;
+ const struct TALER_AgeCommitmentHash *pah = NULL;
rci->ps = fcd->ps[rrh->noreveal_index];
rci->bks = fcd->bks[rrh->noreveal_index];
@@ -157,7 +157,7 @@ refresh_reveal_ok (struct TALER_EXCHANGE_RefreshesRevealHandle *rrh,
TALER_age_commitment_hash (&rci->age_commitment_proof->commitment,
&rci->h_age_commitment);
- pach = &rci->h_age_commitment;
+ pah = &rci->h_age_commitment;
}
if (GNUNET_OK !=
@@ -181,7 +181,7 @@ refresh_reveal_ok (struct TALER_EXCHANGE_RefreshesRevealHandle *rrh,
&coin_pub.eddsa_pub);
TALER_coin_pub_hash (
&coin_pub,
- pach,
+ pah,
&coin_hash);
if (GNUNET_OK !=
TALER_planchet_to_coin (
@@ -189,7 +189,7 @@ refresh_reveal_ok (struct TALER_EXCHANGE_RefreshesRevealHandle *rrh,
&blind_sig,
&bks,
&rci->coin_priv,
- pach,
+ pah,
&coin_hash,
&rrh->alg_values[i],
&coin))