aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 462134275..fd11de2eb 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -1348,10 +1348,11 @@ test_wire_out (struct TALER_EXCHANGEDB_Session *session,
1348 { 1348 {
1349 json_t *wire_out_account; 1349 json_t *wire_out_account;
1350 1350
1351 wire_out_account = json_pack ("{s:s,s:s}", 1351 wire_out_account = GNUNET_JSON_PACK (
1352 "payto_uri", 1352 GNUNET_JSON_pack_string ("payto_uri",
1353 "payto://x-taler-bank/localhost:8080/1", 1353 "payto://x-taler-bank/localhost:8080/1"),
1354 "salt", "this-is-my-salt"); 1354 GNUNET_JSON_pack_string ("salt",
1355 "this-is-my-salt"));
1355 if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != 1356 if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
1356 plugin->store_wire_transfer_out (plugin->cls, 1357 plugin->store_wire_transfer_out (plugin->cls,
1357 session, 1358 session,
@@ -1567,9 +1568,11 @@ run (void *cls)
1567 rh = NULL; 1568 rh = NULL;
1568 session = NULL; 1569 session = NULL;
1569 deposit.coin.denom_sig.rsa_signature = NULL; 1570 deposit.coin.denom_sig.rsa_signature = NULL;
1570 wire = json_pack ("{s:s, s:s}", 1571 wire = GNUNET_JSON_PACK (
1571 "payto_uri", "payto://sepa/DE67830654080004822650", 1572 GNUNET_JSON_pack_string ("payto_uri",
1572 "salt", "this-is-a-salt-value"); 1573 "payto://sepa/DE67830654080004822650"),
1574 GNUNET_JSON_pack_string ("salt",
1575 "this-is-a-salt-value"));
1573 ZR_BLK (&cbc); 1576 ZR_BLK (&cbc);
1574 ZR_BLK (&cbc2); 1577 ZR_BLK (&cbc2);
1575 if (NULL == 1578 if (NULL ==