diff options
Diffstat (limited to 'src/json/json_wire.c')
-rw-r--r-- | src/json/json_wire.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/json/json_wire.c b/src/json/json_wire.c index 837263c1e..1cd3fd7d5 100644 --- a/src/json/json_wire.c +++ b/src/json/json_wire.c | |||
@@ -380,7 +380,10 @@ validate_payto (const char *account_url) | |||
380 | return GNUNET_SYSERR; /* not payto */ | 380 | return GNUNET_SYSERR; /* not payto */ |
381 | #undef PAYTO_PREFIX | 381 | #undef PAYTO_PREFIX |
382 | if (GNUNET_NO != (ret = validate_payto_iban (account_url))) | 382 | if (GNUNET_NO != (ret = validate_payto_iban (account_url))) |
383 | { | ||
384 | GNUNET_break_op (GNUNET_SYSERR != ret); | ||
383 | return ret; /* got a definitive answer */ | 385 | return ret; /* got a definitive answer */ |
386 | } | ||
384 | /* Insert other bank account validation methods here later! */ | 387 | /* Insert other bank account validation methods here later! */ |
385 | return GNUNET_NO; | 388 | return GNUNET_NO; |
386 | } | 389 | } |
@@ -416,6 +419,9 @@ TALER_JSON_merchant_wire_signature_hash (const json_t *wire_s, | |||
416 | GNUNET_break_op (0); | 419 | GNUNET_break_op (0); |
417 | return GNUNET_SYSERR; | 420 | return GNUNET_SYSERR; |
418 | } | 421 | } |
422 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
423 | "Validating `%s'\n", | ||
424 | payto_uri); | ||
419 | if (GNUNET_SYSERR == validate_payto (payto_uri)) | 425 | if (GNUNET_SYSERR == validate_payto (payto_uri)) |
420 | { | 426 | { |
421 | GNUNET_break_op (0); | 427 | GNUNET_break_op (0); |