diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-18 11:26:11 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-18 11:29:30 +0200 |
commit | 9942032ae9f48cc08dcfc57382d2bd4226b898b3 (patch) | |
tree | 9b16e6cff55532933fbd447138f8c13a67cd2db5 /src/exchangedb/test_exchangedb.c | |
parent | 1e09a0660e6e78d6e6ad247ad9c6294e53c47627 (diff) | |
download | exchange-9942032ae9f48cc08dcfc57382d2bd4226b898b3.tar.xz |
Add "general_id" for merchants into the DB system.
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 0bff60f90..16467d578 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -349,6 +349,7 @@ never_called_cb (void *cls, * * @param cls closure * @param payto_url payto URL of this particular merchant (bank account) + * @param general_id general identificator valid at the KYC-caring institution * @param kyc_checked status of KYC check: if GNUNET_OK, the merchant was * checked at least once, never otherwise. * @param merchant_serial_id serial ID identifying this merchant (bank @@ -358,6 +359,7 @@ never_called_cb (void *cls, static void kcs (void *cls, const char *payto_url, + const char *general_id, uint8_t kyc_checked, uint64_t merchant_serial_id) { @@ -2239,6 +2241,7 @@ run (void *cls) FAILIF (GNUNET_OK != plugin->insert_kyc_merchant (NULL, session, + "dummy", // NULL segfaults. "payto://mock")); FAILIF (GNUNET_OK != plugin->mark_kyc_merchant (NULL, |