Make set_validation_data public (#399)

This commit is contained in:
Joshy Orndorff authored and GitHub committed 2021-04-13 21:20:10 +02:00
1 parent 498595a5b7
commit a70ab40cdc
1 file changed
+1 -1
+1 -1
View File
@@ -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(),