Skip to content

Commit

Permalink
correct order of blockrecord args
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-o-how committed Jan 24, 2025
1 parent 7d38538 commit 2bb5c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/chia-protocol/src/block_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ impl BlockRecord {
let num_sps_sub_slot = constants.getattr("NUM_SPS_SUB_SLOT")?.extract::<u32>()?;
calculate_sp_iters(
num_sps_sub_slot,
self.signage_point_index,
self.sub_slot_iters,
self.signage_point_index,
)
}

Expand All @@ -176,9 +176,9 @@ impl BlockRecord {
.extract::<u8>()?;
calculate_ip_iters(
num_sps_sub_slot,
self.signage_point_index,
num_sp_intervals_extra,
self.sub_slot_iters,
self.signage_point_index,
self.required_iters,
)
}
Expand Down

0 comments on commit 2bb5c1e

Please sign in to comment.