Skip to content

Commit 0902d31

Browse files
committed
update origin type
1 parent 46bc3b9 commit 0902d31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/src/subnets/registration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl<T: Config> Pallet<T> {
3535
}
3636

3737
pub fn do_register(
38-
origin: T::RuntimeOrigin,
38+
origin: OriginFor<T>,
3939
netuid: NetUid,
4040
hotkey: T::AccountId,
4141
) -> DispatchResult {
@@ -124,7 +124,7 @@ impl<T: Config> Pallet<T> {
124124
}
125125

126126
pub fn do_register_limit(
127-
origin: T::RuntimeOrigin,
127+
origin: OriginFor<T>,
128128
netuid: NetUid,
129129
hotkey: T::AccountId,
130130
limit_price: u64,

0 commit comments

Comments
 (0)