commit 28a63d95d33873018ec347cf48f2cf1784c8b92e
parent df0816296129012b76d8e4ee2608969af1240abc
Author: priscilla <priscilla.huang@efrei.net>
Date: Tue, 21 Feb 2023 05:02:31 -0500
pos_key in template is set. Test case is also good
Diffstat:
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git 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
@@ -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
@@ -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,