Implement block import

This commit is contained in:
Bastian Köcher committed 2019-10-22 15:26:11 +02:00
1 parent 649f1b9a10
commit 074e9e7de6
3 files changed
+98 -20

No files matched your search

+10
View File
@@ -64,4 +64,14 @@ impl<B: BlockT> ParachainBlockData<B> {
pub fn into_header(self) -> B::Header {
self.header
}
/// Returns the header.
pub fn header(&self) -> &B::Header {
&self.header
}
/// Returns the extrinsics.
pub fn extrinsics(&self) -> &[B::Extrinsic] {
&self.extrinsics
}
}