Skip to content

Commit c40b0cc

Browse files
Set DisplatchClass::Normal for unstake_all_alpha
1 parent 0a41ca6 commit c40b0cc

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
@@ -1672,7 +1672,7 @@ mod dispatches {
16721672
#[pallet::call_index(84)]
16731673
#[pallet::weight((Weight::from_parts(358_500_000, 0)
16741674
.saturating_add(T::DbWeight::get().reads(38_u64))
1675-
.saturating_add(T::DbWeight::get().writes(21_u64)), DispatchClass::Operational, Pays::Yes))]
1675+
.saturating_add(T::DbWeight::get().writes(21_u64)), DispatchClass::Normal, Pays::Yes))]
16761676
pub fn unstake_all_alpha(origin: OriginFor<T>, hotkey: T::AccountId) -> DispatchResult {
16771677
Self::do_unstake_all_alpha(origin, hotkey)
16781678
}

0 commit comments

Comments
 (0)