Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit b938a72

Browse files
authored
Core-Fellowship: fix origin typo (#14179)
1 parent e736a97 commit b938a72

File tree

1 file changed

+1
-1
lines changed
  • frame/core-fellowship/src

1 file changed

+1
-1
lines changed

frame/core-fellowship/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ pub mod pallet {
368368
who: T::AccountId,
369369
at_rank: RankOf<T, I>,
370370
) -> DispatchResult {
371-
match T::PromoteOrigin::try_origin(origin) {
371+
match T::ApproveOrigin::try_origin(origin) {
372372
Ok(allow_rank) => ensure!(allow_rank >= at_rank, Error::<T, I>::NoPermission),
373373
Err(origin) => ensure_root(origin)?,
374374
}

0 commit comments

Comments
 (0)