diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-13 18:52:59 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-13 18:52:59 +0200 |
commit | acbadd5c6e98282c4c4d568942b4c36c825c3dad (patch) | |
tree | 80560e70be10ff5a77265ef1b5e54bdf3998be62 /src/testing/testing_api_cmd_insert_deposit.c | |
parent | 9e25e39b80657f2fa07be22d878b2d3d8c4b5b45 (diff) | |
download | exchange-acbadd5c6e98282c4c4d568942b4c36c825c3dad.tar.xz |
-modify C API to future-proof it for returning more details as required for KYC implementation
Diffstat (limited to 'src/testing/testing_api_cmd_insert_deposit.c')
-rw-r--r-- | src/testing/testing_api_cmd_insert_deposit.c | 8 |
1 files changed, 6 insertions, 2 deletions
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); |