We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8b235 commit 415bb4dCopy full SHA for 415bb4d
modules/snapshot_bootstrapper/src/header.rs
@@ -26,7 +26,6 @@ pub enum HeaderContextError {
26
pub struct HeaderContext {
27
pub point: Point,
28
pub block_number: u64,
29
- pub block_hash: Hash<32>,
30
}
31
32
impl HeaderContext {
@@ -53,13 +52,9 @@ impl HeaderContext {
53
52
let minted: MintedHeader<'_> = minicbor::decode(&cbor)
54
.map_err(|e| HeaderContextError::Decode(point.slot(), e.to_string()))?;
55
let header = ConwayHeader::from(minted);
56
- let block_body_hash = header.header_body.block_body_hash;
57
- let hash = Self::convert_hash(block_body_hash.as_ref())?;
58
-
59
Ok(Self {
60
point: point.clone(),
61
block_number: header.header_body.block_number,
62
- block_hash: hash,
63
})
64
65
0 commit comments