Skip to content

Commit 94355de

Browse files
committed
chore: clippy
1 parent 3f79fb2 commit 94355de

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pallets/subtensor/src/tests/recycle_alpha.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,6 @@ fn test_recycle_precision_loss() {
561561
let stake = 200_000;
562562
increase_stake_on_coldkey_hotkey_account(&coldkey, &hotkey, stake.into(), netuid);
563563

564-
// get initial total issuance and alpha out
565-
let initial_alpha = TotalHotkeyAlpha::<Test>::get(hotkey, netuid);
566-
let initial_net_alpha = SubnetAlphaOut::<Test>::get(netuid);
567-
568564
// amount to recycle
569565
let recycle_amount = AlphaCurrency::from(stake);
570566

@@ -602,10 +598,6 @@ fn test_burn_precision_loss() {
602598
let stake = 200_000;
603599
increase_stake_on_coldkey_hotkey_account(&coldkey, &hotkey, stake.into(), netuid);
604600

605-
// get initial total issuance and alpha out
606-
let initial_alpha = TotalHotkeyAlpha::<Test>::get(hotkey, netuid);
607-
let initial_net_alpha = SubnetAlphaOut::<Test>::get(netuid);
608-
609601
// amount to recycle
610602
let burn_amount = AlphaCurrency::from(stake);
611603

0 commit comments

Comments
 (0)