Skip to content

Commit 1426ed1

Browse files
authored
Merge pull request #2152 from opentensor/unstake-all-class
Fix incorrect extrinsic class.
2 parents 99a542b + 534e578 commit 1426ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,7 @@ mod dispatches {
15841584
#[pallet::call_index(84)]
15851585
#[pallet::weight((Weight::from_parts(358_500_000, 0)
15861586
.saturating_add(T::DbWeight::get().reads(36_u64))
1587-
.saturating_add(T::DbWeight::get().writes(21_u64)), DispatchClass::Operational, Pays::Yes))]
1587+
.saturating_add(T::DbWeight::get().writes(21_u64)), DispatchClass::Normal, Pays::Yes))]
15881588
pub fn unstake_all_alpha(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
15891589
Self::do_unstake_all_alpha(origin, hotkey)
15901590
}

0 commit comments

Comments
 (0)