Companion for #9085 (pub calls) (#3214)

* update to use pub dispatchables

* update Substrate

* Update claims.rs

* remove warning

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2021-06-12 19:13:16 +01:00
committed by GitHub
parent 097cadca19
commit 7f344df160
7 changed files with 175 additions and 182 deletions
@@ -285,7 +285,7 @@ pub mod pallet {
///
/// Can only be called by the Root origin.
#[pallet::weight(T::DbWeight::get().reads_writes(1, 1))]
fn force_remove_lock(origin: OriginFor<T>, para: ParaId) -> DispatchResult {
pub fn force_remove_lock(origin: OriginFor<T>, para: ParaId) -> DispatchResult {
ensure_root(origin)?;
Self::remove_lock(para);
Ok(())