Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Apr 15, 2024
1 parent f9c8eb4 commit 5082638
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ mod validator_node_merkle_root {
public_key.clone(),
Some(sidechain_public.clone()),
Some(sidechain_signature),
10000,
);
let (tx, _outputs) = schema_to_transaction(
&[txn_schema!(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::{
consensus::{ConsensusConstants, ConsensusManager},
transactions::{
aggregated_body::AggregateBody,
transaction_components::{TransactionError, TransactionInput},
transaction_components::{TransactionError, TransactionInput, TransactionOutput},
},
validation::{
helpers::{check_input_is_utxo, check_not_duplicate_txo, check_tari_script_byte_size},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ impl AggregateBodyInternalConsistencyValidator {
check_script_size(output, constants.max_script_byte_size())?;
check_covenant_length(&output.covenant, constants.max_covenant_length())?;
check_permitted_range_proof_types(constants, output)?;
check_template_registration_utxo(output)?;
check_confidential_output_utxo(output)?;
check_validator_node_registration_utxo(constants, output, height)?;
}

Expand Down

0 comments on commit 5082638

Please sign in to comment.