mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
make all extrinsics public so they are available from outside (#9078)
Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
@@ -184,7 +184,7 @@ pub mod pallet {
|
||||
T::WeightInfo::set(),
|
||||
DispatchClass::Mandatory
|
||||
))]
|
||||
pub(super) fn set(origin: OriginFor<T>, #[pallet::compact] now: T::Moment) -> DispatchResult {
|
||||
pub fn set(origin: OriginFor<T>, #[pallet::compact] now: T::Moment) -> DispatchResult {
|
||||
ensure_none(origin)?;
|
||||
assert!(!DidUpdate::<T>::exists(), "Timestamp must be updated only once in the block");
|
||||
let prev = Self::now();
|
||||
|
||||
Reference in New Issue
Block a user