From: Elias Rohrer Date: Sat, 16 Dec 2023 18:04:52 +0000 (+0100) Subject: Allow `unused_variables` for one `_test_vectors` method X-Git-Tag: v0.0.120~20^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2d6464cd71b658ebc41c686bc602667c9c0b9e53;p=rust-lightning Allow `unused_variables` for one `_test_vectors` method --- diff --git a/lightning/src/util/crypto.rs b/lightning/src/util/crypto.rs index bb5903b2c..98963c7c2 100644 --- a/lightning/src/util/crypto.rs +++ b/lightning/src/util/crypto.rs @@ -64,6 +64,7 @@ pub fn sign(ctx: &Secp256k1, msg: &Message, sk: &SecretKey) -> Si } #[inline] +#[allow(unused_variables)] pub fn sign_with_aux_rand( ctx: &Secp256k1, msg: &Message, sk: &SecretKey, entropy_source: &ES ) -> Signature where ES::Target: EntropySource {