clippy
This commit is contained in:
@ -68,7 +68,7 @@ mod target_arch {
|
|||||||
amount_as_ct[..32].copy_from_slice(RISTRETTO_BASEPOINT_COMPRESSED.as_bytes());
|
amount_as_ct[..32].copy_from_slice(RISTRETTO_BASEPOINT_COMPRESSED.as_bytes());
|
||||||
add_ciphertexts(
|
add_ciphertexts(
|
||||||
Scalar::one(),
|
Scalar::one(),
|
||||||
ct,
|
&ct,
|
||||||
Scalar::from(amount),
|
Scalar::from(amount),
|
||||||
&pod::ElGamalCiphertext(amount_as_ct),
|
&pod::ElGamalCiphertext(amount_as_ct),
|
||||||
)
|
)
|
||||||
@ -82,7 +82,7 @@ mod target_arch {
|
|||||||
amount_as_ct[..32].copy_from_slice(RISTRETTO_BASEPOINT_COMPRESSED.as_bytes());
|
amount_as_ct[..32].copy_from_slice(RISTRETTO_BASEPOINT_COMPRESSED.as_bytes());
|
||||||
add_ciphertexts(
|
add_ciphertexts(
|
||||||
Scalar::one(),
|
Scalar::one(),
|
||||||
ct,
|
&ct,
|
||||||
-Scalar::from(amount),
|
-Scalar::from(amount),
|
||||||
&pod::ElGamalCiphertext(amount_as_ct),
|
&pod::ElGamalCiphertext(amount_as_ct),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user