Skip to content

Commit 4fd4757

Browse files
committed
oops
1 parent a7aac95 commit 4fd4757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/admin-utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub mod pallet {
158158
netuid: u16,
159159
min_difficulty: u64,
160160
) -> DispatchResult {
161-
pallet_subtensor::Pallet::<T>::ensure_root(origin, netuid)?;
161+
ensure_root(origin)?;
162162

163163
ensure!(
164164
pallet_subtensor::Pallet::<T>::if_subnet_exist(netuid),

0 commit comments

Comments
 (0)