From b40afe196c3c76c3df1538ff64be55de4e1dbcec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 10 Jan 2021 12:15:47 +0100 Subject: remove redundant old_coin_pub from link data --- src/util/wallet_signatures.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/util/wallet_signatures.c') diff --git a/src/util/wallet_signatures.c b/src/util/wallet_signatures.c index ef343d179..1916740c6 100644 --- a/src/util/wallet_signatures.c +++ b/src/util/wallet_signatures.c @@ -41,8 +41,6 @@ TALER_wallet_link_sign (const struct GNUNET_HashCode *h_denom_pub, GNUNET_CRYPTO_hash (coin_ev, coin_ev_size, &ldp.coin_envelope_hash); - GNUNET_CRYPTO_eddsa_key_get_public (&old_coin_priv->eddsa_priv, - &ldp.old_coin_pub.eddsa_pub); GNUNET_CRYPTO_eddsa_sign (&old_coin_priv->eddsa_priv, &ldp, &coin_sig->eddsa_signature); @@ -62,7 +60,6 @@ TALER_wallet_link_verify ( .purpose.size = htonl (sizeof (ldp)), .purpose.purpose = htonl (TALER_SIGNATURE_WALLET_COIN_LINK), .h_denom_pub = *h_denom_pub, - .old_coin_pub = *old_coin_pub, .transfer_pub = *transfer_pub }; -- cgit v1.2.3