Skip to content

Commit bf6fc25

Browse files
committed
fix: update pallet code format in dispatches
1 parent dae2dc4 commit bf6fc25

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2438,7 +2438,13 @@ mod dispatches {
24382438
/// This is an administrative escape hatch to repair alpha issuance / burn accounting
24392439
/// when historical drift is detected.
24402440
#[pallet::call_index(125)]
2441-
#[pallet::weight((\n Weight::from_parts(6_000, 0)\n .saturating_add(T::DbWeight::get().reads(1_u64))\n .saturating_add(T::DbWeight::get().writes(1_u64)),\n DispatchClass::Operational,\n Pays::Yes\n ))]
2441+
#[pallet::weight((
2442+
Weight::from_parts(6_000, 0)
2443+
.saturating_add(T::DbWeight::get().reads(1_u64))
2444+
.saturating_add(T::DbWeight::get().writes(1_u64)),
2445+
DispatchClass::Operational,
2446+
Pays::Yes
2447+
))]
24422448
pub fn sudo_set_subnet_alpha_out(
24432449
origin: OriginFor<T>,
24442450
netuid: NetUid,

0 commit comments

Comments
 (0)