Skip to content

Commit ccb23cc

Browse files
committed
remove unused variable
1 parent 6722dca commit ccb23cc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pallets/subtensor/src/tests/coinbase.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,9 +1080,6 @@ fn test_drain_alpha_childkey_parentkey() {
10801080
// Childkey take is 10%
10811081
ChildkeyTake::<Test>::insert(child, netuid, u16::MAX / 10);
10821082

1083-
let parent_stake_before = SubtensorModule::get_stake_for_hotkey_on_subnet(&parent, netuid);
1084-
let child_stake_before = SubtensorModule::get_stake_for_hotkey_on_subnet(&child, netuid);
1085-
10861083
let pending_alpha = AlphaCurrency::from(1_000_000_000);
10871084
SubtensorModule::drain_pending_emission(
10881085
netuid,

0 commit comments

Comments
 (0)