diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-03 21:08:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-03 21:08:24 +0200 |
commit | 1dea7998db7e2d8aeb4f60faceb07849f0855979 (patch) | |
tree | de0a7de8c18067656d5587359b62841eb9eb635f | |
parent | daae3d3ddf1cbee4761a6a2c0066732fb4723fb0 (diff) |
fix json generation, use proper json in test
-rw-r--r-- | src/exchange-lib/test-exchange-home/sepa.json | 10 | ||||
-rw-r--r-- | src/exchange-tools/taler-exchange-wire.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/exchange-lib/test-exchange-home/sepa.json b/src/exchange-lib/test-exchange-home/sepa.json index 92ca25566..b435ce86b 100644 --- a/src/exchange-lib/test-exchange-home/sepa.json +++ b/src/exchange-lib/test-exchange-home/sepa.json @@ -1,9 +1,9 @@ { - "type": "sepa", + "name": "Max Musterman", "bic": "COBADEFF370", + "type": "sepa", + "sig": "4EVRC2MCJPXQC8MC00831DNWEXMZAP4JQDDE1A7R6KR3MANG24RC1VQ55AX5A2E35S58VW1VSTENFTPHG5MWG9BSN8B8WXSV21KKW20", "address": "Musterstadt", - "iban": "DE89370400440532013000", - "receiver_name": "Max Musterman", - "salt": "J5AP2BJ8MQAM1WQYQ9YPTAHZVTDXCT3RKHX851S5Q2A42T11K796MNMKJ78VBGDKCFMETMBDPM35D81NCCN77YRW92GDFSQ6P4CZ720", - "sig": "FF4JZ1FPNVEFPM6ZXD3QN1M225T9X912PX1GJDWGGJX6KBSTR2EZHK24E1PYW7P64YGGQG7Q9HJW0XE36HBBYZWXW83PKVZEYNVG038" + "salt": "3KTM1ZRMWGEQPQ254S4R5R4Q8XM0ZYWTCTE01TZ76MVBSQ6RX7A5DR08WXVH1DCHR1R7ACRB7X0EVC2XDW1CBZM9WFSD9TRMZ90BR98", + "iban": "DE89370400440532013000" }
\ No newline at end of file diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index 3bea78f67..22721a424 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -68,7 +68,7 @@ main (int argc, &GNUNET_GETOPT_set_filename, &masterkeyfile}, {'t', "type", "METHOD", "which wire transfer method (i.e. 'test' or 'sepa') is this for?", 1, - &GNUNET_GETOPT_set_filename, &method}, + &GNUNET_GETOPT_set_string, &method}, {'o', "output", "FILE", "where to write the result", 1, &GNUNET_GETOPT_set_filename, &output_filename}, |