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
@@ -86,6 +86,7 @@ fn repeat(interval: u64, diff: HeaderInfo, len: u64, cur_time: Option<u64>) -> V
pairs
.map(|(t, d)| {
HeaderInfo::new(
diff.block_hash,
cur_time + t as u64,
d.clone(),
diff.secondary_scaling,