Skip to content

Commit 92ff6d4

Browse files
committed
Allow many arguments in test function
This is a unit test helper function, it is ok to have a whole bunch of arguments.
1 parent c128c27 commit 92ff6d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/sighash.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ mod tests {
10071007
assert_eq!(Annex::new(&[0x51, 0x50]), Err(Error::WrongAnnex));
10081008
}
10091009

1010+
#[allow(clippy::too_many_arguments)]
10101011
fn test_taproot_sighash(
10111012
tx_hex: &str,
10121013
prevout_hex: &str,

0 commit comments

Comments
 (0)