diff --git a/crates/subspace-runtime/src/lib.rs b/crates/subspace-runtime/src/lib.rs index bacffe350b..25a58197c9 100644 --- a/crates/subspace-runtime/src/lib.rs +++ b/crates/subspace-runtime/src/lib.rs @@ -1534,8 +1534,9 @@ impl_runtime_apis! { build_state::(config) } - fn get_preset(id: &Option) -> Option> { - get_preset::(id, |_| None) + fn get_preset(_id: &Option) -> Option> { + // By passing `None` the upstream `get_preset` will return the default value of `RuntimeGenesisConfig` + get_preset::(&None, |_| None) } fn preset_names() -> Vec {