diff --git a/zebra-chain/src/transaction/tests/vectors.rs b/zebra-chain/src/transaction/tests/vectors.rs index 70fb69e6b6f..8f9377012a7 100644 --- a/zebra-chain/src/transaction/tests/vectors.rs +++ b/zebra-chain/src/transaction/tests/vectors.rs @@ -838,14 +838,15 @@ fn zip143_sighash() -> Result<()> { Some(output) => mock_pre_v5_output_list(output, input_index.unwrap()), None => vec![], }; - let result = - hex::encode(transaction.sighash( + let result = hex::encode( + transaction.sighash( NetworkUpgrade::from_branch_id(test.consensus_branch_id) .expect("must be a valid branch ID"), HashType::from_bits(test.hash_type).expect("must be a valid HashType"), &all_previous_outputs, input_index, - )); + ), + ); let expected = hex::encode(test.sighash); assert_eq!(expected, result, "test #{}: sighash does not match", i); } @@ -873,14 +874,15 @@ fn zip243_sighash() -> Result<()> { Some(output) => mock_pre_v5_output_list(output, input_index.unwrap()), None => vec![], }; - let result = - hex::encode(transaction.sighash( + let result = hex::encode( + transaction.sighash( NetworkUpgrade::from_branch_id(test.consensus_branch_id) .expect("must be a valid branch ID"), HashType::from_bits(test.hash_type).expect("must be a valid HashType"), &all_previous_outputs, input_index, - )); + ), + ); let expected = hex::encode(test.sighash); assert_eq!(expected, result, "test #{}: sighash does not match", i); }