aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-02-04 16:50:32 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 16:50:32 +0100
commita67786078bb3617ea8d4d308b21781fd0a1c2258 (patch)
tree67d476fe3e096001997f6de77d1db92bcd643bbb /src/lib
parent8674f32aec8113ced6b2c2be625728b31158fff8 (diff)
resolves merge conflicts
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_link.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/exchange_api_link.c b/src/lib/exchange_api_link.c
index 78f8804a1..e241f5438 100644
--- a/src/lib/exchange_api_link.c
+++ b/src/lib/exchange_api_link.c
@@ -156,18 +156,13 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh,
GNUNET_JSON_parse_free (spec);
return GNUNET_SYSERR;
}
- GNUNET_CRYPTO_hash (pd.coin_ev,
- pd.coin_ev_size,
- &coin_envelope_hash.hash);
- //FIXME:
+ TALER_coin_ev_hash (&pd.blinded_planchet,
+ &pd.denom_pub_hash,
+ &coin_envelope_hash);
if (GNUNET_OK !=
TALER_wallet_link_verify (&pd.denom_pub_hash,
trans_pub,
&coin_envelope_hash,
- pd.blinded_planchet.details.
- rsa_blinded_planchet.blinded_msg,
- pd.blinded_planchet.details.
- rsa_blinded_planchet.blinded_msg_size,
&old_coin_pub,
&link_sig))
{