From 33a28efef74d1db0c08a8e9e3facf3656b4b29e1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 31 Jul 2021 21:48:36 +0200 Subject: -more json_pack fixes --- src/testing/testing_api_cmd_insert_deposit.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 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 06f2dbe0..607baeef 100644 --- a/src/testing/testing_api_cmd_insert_deposit.c +++ b/src/testing/testing_api_cmd_insert_deposit.c @@ -189,9 +189,11 @@ insert_deposit_run (void *cls, "payto://x-taler-bank/localhost/%s", ids->merchant_account); deposit.receiver_wire_account - = json_pack ("{s:s, s:s}", - "salt", "this-is-a-salt-value", - "payto_uri", str); + = GNUNET_JSON_PACK ( + GNUNET_JSON_pack_string ("salt", + "this-is-a-salt-value"), + GNUNET_JSON_pack_string ("payto_uri", + str)); GNUNET_free (str); } -- cgit v1.2.3