diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-28 20:59:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-28 20:59:39 +0100 |
commit | 5fcca8707f4a4fd6568095872a1bb6e7124ee508 (patch) | |
tree | 67abfe3474c48ee2e8b1c8f3ce95734a767840c2 /src/mint/taler-mint-httpd_responses.c | |
parent | 8c558ddf89f12cd282154de3c9bdb295d45fbcfb (diff) |
simplify logic, remove dead call
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index d605a85ab..d8a65f176 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c @@ -272,10 +272,8 @@ TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, dc.amount = TALER_amount_hton (*amount); dc.coin_pub = *coin_pub; dc.merchant = *merchant; - if (GNUNET_OK != - GNUNET_CRYPTO_eddsa_sign (&mint_priv, - &dc.purpose, - &sig)) + TALER_MINT_keys_sign (&dc.purpose, + &sig); { LOG_WARNING ("Failed to create EdDSA signature using my private key\n"); return TALER_MINT_reply_internal_error (connection, |