From acbadd5c6e98282c4c4d568942b4c36c825c3dad Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 13 Oct 2021 18:52:59 +0200 Subject: -modify C API to future-proof it for returning more details as required for KYC implementation --- src/testing/testing_api_cmd_insert_deposit.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/testing/testing_api_cmd_insert_deposit.c') diff --git a/src/testing/testing_api_cmd_insert_deposit.c b/src/testing/testing_api_cmd_insert_deposit.c index 0d57ab6c4..0a0d5db2f 100644 --- a/src/testing/testing_api_cmd_insert_deposit.c +++ b/src/testing/testing_api_cmd_insert_deposit.c @@ -200,14 +200,18 @@ insert_deposit_run (void *cls, &hc); { char *str; + struct TALER_WireSalt salt; GNUNET_asprintf (&str, "payto://x-taler-bank/localhost/%s", ids->merchant_account); + memset (&salt, + 46, + sizeof (salt)); deposit.receiver_wire_account = GNUNET_JSON_PACK ( - GNUNET_JSON_pack_string ("salt", - "this-is-a-salt-value"), + GNUNET_JSON_pack_data_auto ("salt", + &salt), GNUNET_JSON_pack_string ("payto_uri", str)); GNUNET_free (str); -- cgit v1.2.3