mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Implement block import
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user