mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Make set_validation_data public (#399)
This commit is contained in:
@@ -171,7 +171,7 @@ decl_module! {
|
|||||||
/// As a side effect, this function upgrades the current validation function
|
/// As a side effect, this function upgrades the current validation function
|
||||||
/// if the appropriate time has come.
|
/// if the appropriate time has come.
|
||||||
#[weight = (0, DispatchClass::Mandatory)]
|
#[weight = (0, DispatchClass::Mandatory)]
|
||||||
fn set_validation_data(origin, data: ParachainInherentData) -> DispatchResult {
|
pub fn set_validation_data(origin, data: ParachainInherentData) -> DispatchResult {
|
||||||
ensure_none(origin)?;
|
ensure_none(origin)?;
|
||||||
assert!(
|
assert!(
|
||||||
!ValidationData::exists(),
|
!ValidationData::exists(),
|
||||||
|
|||||||
Reference in New Issue
Block a user