diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-31 21:08:50 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-31 21:08:50 +0200 |
commit | eb494d2cafb6dff07f86dacf6859928c6d3398b3 (patch) | |
tree | 3b1e8065f54fa052e44dd71b2fa3e66b2173e72b /src/backenddb | |
parent | 18e85ac0a004115e7a4663e9934bed577b44c2ee (diff) | |
download | merchant-eb494d2cafb6dff07f86dacf6859928c6d3398b3.tar.gz merchant-eb494d2cafb6dff07f86dacf6859928c6d3398b3.tar.bz2 merchant-eb494d2cafb6dff07f86dacf6859928c6d3398b3.zip |
typos
Diffstat (limited to 'src/backenddb')
-rw-r--r-- | src/backenddb/merchant-0000.sql | 2 | ||||
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 12 | ||||
-rw-r--r-- | src/backenddb/test_merchantdb.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/backenddb/merchant-0000.sql b/src/backenddb/merchant-0000.sql index 1483e201..116f409b 100644 --- a/src/backenddb/merchant-0000.sql +++ b/src/backenddb/merchant-0000.sql @@ -150,7 +150,7 @@ BEGIN; -- It requires that PL/pgSQL is already loaded - will raise exception otherwise. -- All versioning "stuff" (tables, functions) is in "_v" schema. --- All functions are defined as 'RETURNS SETOF INT4' to be able to make them to RETURN literaly nothing (0 rows). +-- All functions are defined as 'RETURNS SETOF INT4' to be able to make them to RETURN literally nothing (0 rows). -- >> RETURNS VOID<< IS similar, but it still outputs "empty line" in psql when calling. CREATE SCHEMA IF NOT EXISTS _v; COMMENT ON SCHEMA _v IS 'Schema for versioning data and functionality.'; diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 12be050b..0f547e3d 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -499,10 +499,10 @@ postgres_insert_order (void *cls, /** - * Mark contract terms as payed. Needed by /history as only payed + * Mark contract terms as paid. Needed by /history as only paid * contracts must be shown. * - * NOTE: we can't get the list of (payed) contracts from the + * NOTE: we can't get the list of (paid) contracts from the * transactions table because it lacks contract_terms plain JSON. In * facts, the protocol doesn't allow to store contract_terms in * transactions table, as /pay handler doesn't receive this data (only @@ -883,8 +883,8 @@ find_contracts_cb (void *cls, * the same timestamp and just go behind in history by tuning `start`. * @param nrows only nrows rows are returned. * @param past if set to #GNUNET_YES, retrieves rows older than `date`. - * @param ascending if GNUNET_YES, results will be sorted in chronological order. - * This is tipically used to show live updates on the merchant's backoffice + * @param ascending if #GNUNET_YES, results will be sorted in chronological order. + * This is typically used to show live updates on the merchant's backoffice * Web interface. * @param cb function to call with transaction data, can be NULL. * @param cb_cls closure for @a cb @@ -1831,11 +1831,11 @@ postgres_get_refunds_from_contract_terms_hash (void *cls, * Insert a refund row into merchant_refunds. Not meant to be exported * in the db API. * - * @param cls closure, tipically a connection to the db + * @param cls closure, typically a connection to the db * @param merchant_pub merchant instance public key * @param h_contract_terms hashcode of the contract related to this refund * @param coin_pub public key of the coin giving the (part of) refund - * @param reason human readable explaination behind the refund + * @param reason human readable explanation behind the refund * @param refund how much this coin is refunding * @param refund_fee refund fee for this coin */ diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c index f7baf1ef..ff1e2b0a 100644 --- a/src/backenddb/test_merchantdb.c +++ b/src/backenddb/test_merchantdb.c @@ -129,7 +129,7 @@ static struct TALER_Amount refund_amount; /** * Amount to be refunded. Used to trigger error about - * subsequest refund amount being lesser than the previous + * subsequent refund amount being lesser than the previous * ones. */ static struct TALER_Amount little_refund_amount; @@ -200,7 +200,7 @@ static json_t *contract_terms_future; * @param cls closure * @param coin_pub public coin from which the refund comes from * @param rtransaction_id identificator of the refund - * @param reason human-readable explaination of the refund + * @param reason human-readable explanation of the refund * @param refund_amount refund amount which is being taken from coin_pub * @param refund_fee cost of this refund operation */ |