diff options
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, 5 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_insert_deposit.c b/src/testing/testing_api_cmd_insert_deposit.c index 06f2dbe0e..607baeef3 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, | |||
189 | "payto://x-taler-bank/localhost/%s", | 189 | "payto://x-taler-bank/localhost/%s", |
190 | ids->merchant_account); | 190 | ids->merchant_account); |
191 | deposit.receiver_wire_account | 191 | deposit.receiver_wire_account |
192 | = json_pack ("{s:s, s:s}", | 192 | = GNUNET_JSON_PACK ( |
193 | "salt", "this-is-a-salt-value", | 193 | GNUNET_JSON_pack_string ("salt", |
194 | "payto_uri", str); | 194 | "this-is-a-salt-value"), |
195 | GNUNET_JSON_pack_string ("payto_uri", | ||
196 | str)); | ||
195 | GNUNET_free (str); | 197 | GNUNET_free (str); |
196 | } | 198 | } |
197 | 199 | ||