mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 08:21:05 +00:00
Aura: add a deprecated method for seal compatibility (#2176)
* aura API defaults to rejecting old seals * build node-cli
This commit is contained in:
committed by
Bastian Köcher
parent
11da395553
commit
f0c21815b3
@@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user