diff --git a/frame/core-fellowship/src/lib.rs b/frame/core-fellowship/src/lib.rs index 93d2302448989..97603fcc6ce9e 100644 --- a/frame/core-fellowship/src/lib.rs +++ b/frame/core-fellowship/src/lib.rs @@ -368,7 +368,7 @@ pub mod pallet { who: T::AccountId, at_rank: RankOf, ) -> DispatchResult { - match T::PromoteOrigin::try_origin(origin) { + match T::ApproveOrigin::try_origin(origin) { Ok(allow_rank) => ensure!(allow_rank >= at_rank, Error::::NoPermission), Err(origin) => ensure_root(origin)?, }