[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 02/02: pos_key in template is set. Test case is also go
From: |
gnunet |
Subject: |
[taler-merchant] 02/02: pos_key in template is set. Test case is also good |
Date: |
Tue, 21 Feb 2023 11:02:49 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository merchant.
commit 28a63d95d33873018ec347cf48f2cf1784c8b92e
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Tue Feb 21 05:02:31 2023 -0500
pos_key in template is set. Test case is also good
---
src/backenddb/merchant-0004.sql | 17 +++++++++++++++++
src/outs | 1 +
src/testing/testing_api_cmd_testserver.c | 1 -
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/src/backenddb/merchant-0004.sql b/src/backenddb/merchant-0004.sql
index 3864f37d..696e60fc 100644
--- a/src/backenddb/merchant-0004.sql
+++ b/src/backenddb/merchant-0004.sql
@@ -106,6 +106,7 @@ COMMENT ON COLUMN merchant_pending_webhooks.body
IS 'Body of the webhook';
+
ALTER TABLE merchant_kyc
ADD COLUMN aml_decision INT4 NOT NULL DEFAULT (0);
@@ -113,6 +114,22 @@ COMMENT ON COLUMN merchant_kyc.aml_decision
IS 'current AML decision for our account at the exchange';
+
+ALTER TABLE merchant_orders
+ ADD COLUMN pos_key VARCHAR;
+
+COMMENT ON COLUMN merchant_orders.pos_key
+ IS 'encoded based key which is used for the verification of payment';
+
+
+
+ALTER TABLE merchant_contract_terms
+ ADD COLUMN pos_key VARCHAR;
+
+COMMENT ON COLUMN merchant_contract_terms.pos_key
+ IS 'enconded based key which is used for the verification of payment';
+
+
COMMIT;
diff --git a/src/outs b/src/outs
new file mode 100644
index 00000000..43f43caa
--- /dev/null
+++ b/src/outs
@@ -0,0 +1 @@
+valgrind: .libs/test_merchant_api_cs: No such file or directory
diff --git a/src/testing/testing_api_cmd_testserver.c
b/src/testing/testing_api_cmd_testserver.c
index 5d0a5ad6..ee32fd77 100644
--- a/src/testing/testing_api_cmd_testserver.c
+++ b/src/testing/testing_api_cmd_testserver.c
@@ -284,7 +284,6 @@ testserver_cleanup (void *cls,
GNUNET_free (rc->http_method);
GNUNET_free (rc->header);
GNUNET_free (rc->body);
- GNUNET_free (rc);
}
GNUNET_array_grow (ser->rcs,
ser->rcs_length,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.