]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Allow `unused_variables` for one `_test_vectors` method
authorElias Rohrer <dev@tnull.de>
Sat, 16 Dec 2023 18:04:52 +0000 (19:04 +0100)
committerElias Rohrer <dev@tnull.de>
Mon, 18 Dec 2023 07:53:28 +0000 (08:53 +0100)
lightning/src/util/crypto.rs

index bb5903b2c8d166783c8b6a275441282e9e7d1b27..98963c7c2bd4fd823c614e25b50dd1785d8dbab2 100644 (file)
@@ -64,6 +64,7 @@ pub fn sign<C: Signing>(ctx: &Secp256k1<C>, msg: &Message, sk: &SecretKey) -> Si
 }
 
 #[inline]
+#[allow(unused_variables)]
 pub fn sign_with_aux_rand<C: Signing, ES: Deref>(
        ctx: &Secp256k1<C>, msg: &Message, sk: &SecretKey, entropy_source: &ES
 ) -> Signature where ES::Target: EntropySource {