add block_hash to head_info so we can easily use them later (#3060)

This commit is contained in:
Antioch Peverell
2019-09-26 14:59:03 +01:00
committed by GitHub
parent b8946908ff
commit fc4e2985d5
4 changed files with 11 additions and 17 deletions
+1
View File
@@ -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,