Skip to content

Commit f7f243c

Browse files
author
Samuel Dare
committed
chore: clippy
1 parent 01cabbd commit f7f243c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/tests/children.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ fn test_multiple_networks_childkey_take() {
986986
register_ok_neuron(netuid, hotkey, coldkey, 0);
987987

988988
// Set a unique childkey take value for each network
989-
let take_value = (netuid as u16 + 1) * 1000; // Values will be 1000, 2000, ..., 10000
989+
let take_value = (netuid + 1) * 1000; // Values will be 1000, 2000, ..., 10000
990990
assert_ok!(SubtensorModule::set_childkey_take(
991991
RuntimeOrigin::signed(coldkey),
992992
hotkey,

0 commit comments

Comments
 (0)