add block_hash to head_info so we can easily use them later (#3060)
This commit is contained in:
@@ -562,6 +562,7 @@ impl<'a> Iterator for DifficultyIter<'a> {
|
||||
let scaling = header.pow.secondary_scaling;
|
||||
|
||||
Some(HeaderInfo::new(
|
||||
header.hash(),
|
||||
header.timestamp.timestamp() as u64,
|
||||
difficulty,
|
||||
scaling,
|
||||
|
||||
Reference in New Issue
Block a user