Skip to content

Commit d16970a

Browse files
Update pallets/subtensor/tests/block_step.rs
Co-authored-by: Cameron Fairchild <[email protected]>
1 parent eba20c2 commit d16970a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/tests/block_step.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ fn test_emission_based_on_registration_status() {
872872
let block: u64 = 0;
873873
// drain the emission tuples for the subnet with registration on
874874
#[allow(clippy::fn_to_numeric_cast)]
875-
SubtensorModule::drain_emission(next_block as u64);
875+
SubtensorModule::drain_emission(block as u64);
876876
// Turn on registration for the subnet with registration off
877877
SubtensorModule::set_network_registration_allowed(netuid_off, true);
878878
SubtensorModule::set_network_registration_allowed(netuid_on, false);

0 commit comments

Comments
 (0)