Skip to content

Commit 87e47c5

Browse files
committed
clippy: just block
1 parent 5a40b75 commit 87e47c5

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
@@ -871,7 +871,7 @@ fn test_emission_based_on_registration_status() {
871871

872872
let block: u64 = 0;
873873
// drain the emission tuples for the subnet with registration on
874-
SubtensorModule::drain_emission(block as u64);
874+
SubtensorModule::drain_emission(block);
875875
// Turn on registration for the subnet with registration off
876876
SubtensorModule::set_network_registration_allowed(netuid_off, true);
877877
SubtensorModule::set_network_registration_allowed(netuid_on, false);

0 commit comments

Comments
 (0)