Skip to content

Commit ce31e50

Browse files
committed
Fix clippy
1 parent 2d333cf commit ce31e50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/src/tests/children.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,10 +2950,10 @@ fn test_childkey_take_drain() {
29502950

29512951
// Set hotkey take for parent
29522952
SubtensorModule::set_max_delegate_take(*parent_hotkey_take);
2953-
Delegates::<Test>::insert(&parent_hotkey, *parent_hotkey_take);
2953+
Delegates::<Test>::insert(parent_hotkey, *parent_hotkey_take);
29542954

29552955
// Set 0% for childkey-as-a-delegate take
2956-
Delegates::<Test>::insert(&child_hotkey, 0);
2956+
Delegates::<Test>::insert(child_hotkey, 0);
29572957

29582958
// Setup stakes:
29592959
// Stake from parent

0 commit comments

Comments
 (0)