Aura: add a deprecated method for seal compatibility (#2176)

* aura API defaults to rejecting old seals

* build node-cli
This commit is contained in:
Robert Habermeier
2019-04-02 17:19:50 +02:00
committed by Bastian Köcher
parent 11da395553
commit f0c21815b3
5 changed files with 98 additions and 50 deletions
+2 -4
View File
@@ -87,14 +87,13 @@ construct_service_factory! {
Self::Block,
>
{ |config: &mut FactoryFullConfiguration<Self> , client: Arc<FullClient<Self>>| {
import_queue::<_, _, _, Pair>(
import_queue::<_, _, _, Pair>(
SlotDuration::get_or_compute(&*client)?,
client.clone(),
None,
client,
NothingExtra,
config.custom.inherent_data_providers.clone(),
true,
).map_err(Into::into)
}
},
@@ -102,14 +101,13 @@ construct_service_factory! {
Self::Block,
>
{ |config: &mut FactoryFullConfiguration<Self>, client: Arc<LightClient<Self>>| {
import_queue::<_, _, _, Pair>(
import_queue::<_, _, _, Pair>(
SlotDuration::get_or_compute(&*client)?,
client.clone(),
None,
client,
NothingExtra,
config.custom.inherent_data_providers.clone(),
true,
).map_err(Into::into)
}
},