Skip to content

Commit 4163b91

Browse files
committed
Reformat
1 parent d790e74 commit 4163b91

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pallets/subtensor/src/utils/try_state.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#[cfg(feature = "try-runtime")]
2-
use super::subnets::subnet::POOL_INITIAL_TAO;
31
use super::*;
42

53
impl<T: Config> Pallet<T> {
@@ -17,8 +15,8 @@ impl<T: Config> Pallet<T> {
1715
pub fn check_accounting_invariants() -> Result<(), sp_runtime::TryRuntimeError> {
1816
use frame_support::traits::fungible::Inspect;
1917

20-
// Disabled: https://github.com/opentensor/subtensor/pull/1166
21-
//
18+
// Disabled: https://github.com/opentensor/subtensor/pull/1166
19+
//
2220
// // Calculate the total staked amount
2321
// let total_staked = SubnetTAO::<T>::iter().fold(0u64, |acc, (netuid, stake)| {
2422
// let acc = acc.saturating_add(stake);

0 commit comments

Comments
 (0)