From 271d0ba0685d9504deec15a23af71de89c138bb0 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 7 Jun 2022 15:24:31 +1000 Subject: [PATCH] Allow many arguments in test function This is a unit test helper function, it is ok to have a whole bunch of arguments. --- src/util/sighash.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/sighash.rs b/src/util/sighash.rs index e9d7f7d2..fa83383a 100644 --- a/src/util/sighash.rs +++ b/src/util/sighash.rs @@ -1007,6 +1007,7 @@ mod tests { assert_eq!(Annex::new(&[0x51, 0x50]), Err(Error::WrongAnnex)); } + #[allow(clippy::too_many_arguments)] fn test_taproot_sighash( tx_hex: &str, prevout_hex: &str,