Skip to content
Snippets Groups Projects
Commit eeb267e1 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

No longer generate specs with consensus_engine field (#10346)

* No longer generate specs with consensus_engine field

* #[allow(unused)]
parent ba81ba80
No related merge requests found
......@@ -173,9 +173,8 @@ struct ClientSpec<E> {
#[serde(flatten)]
extensions: E,
// Never used, left only for backward compatibility.
// In a future version, a `skip_serializing` attribute should be added in order to no longer
// generate chain specs with this field.
#[serde(default)]
#[serde(default, skip_serializing)]
#[allow(unused)]
consensus_engine: (),
#[serde(skip_serializing)]
#[allow(unused)]
......
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