From c2a40aa83924fd88b9c1ec0084f87109b01a8324 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Oct 2015 21:06:23 +0100 Subject: fix #4032: move wire deadline form wire details to advisory field in /deposit request --- src/util/test_wireformats.c | 4 ---- src/util/wireformats.c | 3 --- 2 files changed, 7 deletions(-) (limited to 'src/util') diff --git a/src/util/test_wireformats.c b/src/util/test_wireformats.c index e4bd238f7..7e0e5bbc4 100644 --- a/src/util/test_wireformats.c +++ b/src/util/test_wireformats.c @@ -30,7 +30,6 @@ static const char * const valid_wire_str = \"IBAN\":\"DE67830654080004822650\", \ \"name\":\"GNUnet e.V.\", \ \"bic\":\"GENODEF1SLR\", \ -\"edate\":\"1449930207000\", \ \"r\":123456789, \ \"address\": \"foobar\"}"; @@ -40,7 +39,6 @@ static const char * const invalid_wire_str = \"IBAN\":\"XX67830654080004822650\", \ \"name\":\"GNUnet e.V.\", \ \"bic\":\"GENODEF1SLR\", \ -\"edate\":\"1449930207000\", \ \"r\":123456789, \ \"address\": \"foobar\"}"; @@ -50,7 +48,6 @@ static const char * const invalid_wire_str2 = \"IBAN\":\"DE67830654080004822651\", \ \"name\":\"GNUnet e.V.\", \ \"bic\":\"GENODEF1SLR\", \ -\"edate\":\"1449930207000\", \ \"r\":123456789, \ \"address\": \"foobar\"}"; @@ -60,7 +57,6 @@ static const char * const unsupported_wire_str = \"IBAN\":\"DE67830654080004822650\", \ \"name\":\"GNUnet e.V.\", \ \"bic\":\"GENODEF1SLR\", \ -\"edate\":\"1449930207000\", \ \"r\":123456789, \ \"address\": \"foobar\"}"; diff --git a/src/util/wireformats.c b/src/util/wireformats.c index 5f9678526..594eaf426 100644 --- a/src/util/wireformats.c +++ b/src/util/wireformats.c @@ -322,7 +322,6 @@ validate_sepa (const json_t *wire) const char *iban; const char *name; const char *bic; - const char *edate; uint64_t r; const char *address; @@ -334,7 +333,6 @@ validate_sepa (const json_t *wire) "s:s " /* IBAN: iban */ "s:s " /* name: beneficiary name */ "s:s " /* BIC: beneficiary bank's BIC */ - "s:s " /* edate: transfer execution date */ "s:i " /* r: random 64-bit integer nounce */ "s?s " /* address: address of the beneficiary */ "}", @@ -342,7 +340,6 @@ validate_sepa (const json_t *wire) "IBAN", &iban, "name", &name, "bic", &bic, - "edate", &edate, "r", &r, "address", &address)); if (1 != validate_iban (iban)) -- cgit v1.2.3