We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eba20c2 commit d16970aCopy full SHA for d16970a
pallets/subtensor/tests/block_step.rs
@@ -872,7 +872,7 @@ fn test_emission_based_on_registration_status() {
872
let block: u64 = 0;
873
// drain the emission tuples for the subnet with registration on
874
#[allow(clippy::fn_to_numeric_cast)]
875
- SubtensorModule::drain_emission(next_block as u64);
+ SubtensorModule::drain_emission(block as u64);
876
// Turn on registration for the subnet with registration off
877
SubtensorModule::set_network_registration_allowed(netuid_off, true);
878
SubtensorModule::set_network_registration_allowed(netuid_on, false);
0 commit comments