mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 23:31:07 +00:00
Doc comment.
This commit is contained in:
@@ -38,6 +38,7 @@ pub struct Header {
|
||||
}
|
||||
|
||||
impl Header {
|
||||
/// Create a new instance with default fields except `number`, which is given as an argument.
|
||||
pub fn from_block_number(number: BlockNumber) -> Self {
|
||||
Header {
|
||||
parent_hash: Default::default(),
|
||||
|
||||
Reference in New Issue
Block a user