Skip to content
Snippets Groups Projects
Commit 2516e069 authored by Joshy Orndorff's avatar Joshy Orndorff Committed by GitHub
Browse files

Make `set_validation_data` public (#399)

parent aeb275d3
Branches
No related merge requests found
......@@ -171,7 +171,7 @@ decl_module! {
/// As a side effect, this function upgrades the current validation function
/// if the appropriate time has come.
#[weight = (0, DispatchClass::Mandatory)]
fn set_validation_data(origin, data: ParachainInherentData) -> DispatchResult {
pub fn set_validation_data(origin, data: ParachainInherentData) -> DispatchResult {
ensure_none(origin)?;
assert!(
!ValidationData::exists(),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment