|
@@ -89,6 +89,9 @@ pub type PrincipalId<T> = <T as versioned_store_permissions::Trait>::Credential;
|
|
|
|
|
|
pub type CuratorApplicationIdToCuratorIdMap<T> = BTreeMap<CuratorApplicationId<T>, CuratorId<T>>;
|
|
|
|
|
|
+// Workaround for BTreeSet type
|
|
|
+pub type CuratorApplicationIdSet<T> = BTreeSet<CuratorApplicationId<T>>;
|
|
|
+
|
|
|
/*
|
|
|
* MOVE ALL OF THESE OUT TO COMMON LATER
|
|
|
*/
|
|
@@ -1459,7 +1462,7 @@ decl_module! {
|
|
|
pub fn fill_curator_opening(
|
|
|
origin,
|
|
|
curator_opening_id: CuratorOpeningId<T>,
|
|
|
- successful_curator_application_ids: BTreeSet<CuratorApplicationId<T>>
|
|
|
+ successful_curator_application_ids: CuratorApplicationIdSet<T>,
|
|
|
) {
|
|
|
// Ensure lead is set and is origin signer
|
|
|
let (lead_id, _lead) = Self::ensure_origin_is_set_lead(origin)?;
|