Fix bug in reduced tree fork choice

This commit is contained in:
Paul Hauner
2019-06-24 09:34:54 +10:00
parent 85b23f9f1b
commit e485f3ee75
+8
View File
@@ -173,6 +173,14 @@ where
}
}
self.latest_votes.insert(
validator_index,
Some(Vote {
slot,
hash: block_hash,
}),
);
self.add_latest_message(validator_index, block_hash)?;
Ok(())