diff options
Diffstat (limited to 'src/exchange-tools/taler-exchange-wire.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-wire.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index 0d6cdddbf..10d849b43 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -74,6 +74,13 @@ sign_account_data (void *cls, wire = TALER_JSON_exchange_wire_signature_make (ai->payto_uri, &master_priv); + if (NULL == wire) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Could not sign wire account `%s'. Is the URI well-formed?\n"); + global_ret = 1; + return; + } GNUNET_assert (NULL != wire); json_out = json_dumps (wire, JSON_INDENT (2)); |