Remove Useless Inherent Data Provider (#5750)

* Remove Useless Inherent Data Provider

* Remove Unused Deps
This commit is contained in:
Xavier Lau authored and GitHub committed 2022-07-29 00:27:26 +02:00
1 parent 1a8b087129
commit 88cee48d1e
3 files changed
+1 -19

No files matched your search

+1 -6
View File
@@ -1125,11 +1125,6 @@ where
parent,
).await.map_err(|e| Box::new(e))?;
let uncles = sc_consensus_uncles::create_uncles_inherent_data_provider(
&*client_clone,
parent,
)?;
let timestamp = sp_timestamp::InherentDataProvider::from_system_time();
let slot =
@@ -1138,7 +1133,7 @@ where
slot_duration,
);
Ok((timestamp, slot, uncles, parachain))
Ok((timestamp, slot, parachain))
}
},
force_authoring,