diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-19 12:24:14 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-19 12:24:14 +0100 |
commit | 64e64141962fbea4e8acea87f57f98e93360a7c4 (patch) | |
tree | 37653111c82d9bc3e3440a2b8a0ccef756aea4b0 /src/backenddb | |
parent | 5f57dbbc7b1e1ed21fff24daa537b949727b7966 (diff) | |
download | merchant-64e64141962fbea4e8acea87f57f98e93360a7c4.tar.gz merchant-64e64141962fbea4e8acea87f57f98e93360a7c4.tar.bz2 merchant-64e64141962fbea4e8acea87f57f98e93360a7c4.zip |
introduce new data type for the post-orders hash used for idempotency checks, as well as the hash and salt for authentication checks
Diffstat (limited to 'src/backenddb')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index e7c53a62..5465b4e8 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -1639,7 +1639,7 @@ postgres_lookup_order (void *cls, const char *instance_id, const char *order_id, struct TALER_ClaimTokenP *claim_token, - struct GNUNET_HashCode *h_post_data, + struct TALER_MerchantPostDataHashP *h_post_data, json_t **contract_terms) { struct PostgresClosure *pg = cls; @@ -1881,7 +1881,7 @@ static enum GNUNET_DB_QueryStatus postgres_insert_order (void *cls, const char *instance_id, const char *order_id, - const struct GNUNET_HashCode *h_post_data, + const struct TALER_MerchantPostDataHashP *h_post_data, struct GNUNET_TIME_Timestamp pay_deadline, const struct TALER_ClaimTokenP *claim_token, const json_t *contract_terms) |