Skip to content

Commit

Permalink
Update base_layer/core/src/consensus/consensus_constants.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Hansie Odendaal <[email protected]>
  • Loading branch information
SWvheerden and hansieodendaal authored Dec 13, 2024
1 parent d9035a6 commit df967b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/core/src/consensus/consensus_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl ConsensusConstants {
Ok(self.max_block_transaction_weight - self.calculate_1_output_kernel_weight(coinbase_number)?)
}

fn calculate_1_output_kernel_weight(&self, num_outputs: usize) -> std::io::Result<u64> {
fn calculate_n_output_kernel_weight(&self, num_outputs: usize) -> std::io::Result<u64> {
let output_features = OutputFeatures { ..Default::default() };
let max_extra_size = self.coinbase_output_features_extra_max_length() as usize;

Expand Down

0 comments on commit df967b9

Please sign in to comment.