mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
Fix bug in reduced tree fork choice
This commit is contained in:
@@ -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)?;
|
self.add_latest_message(validator_index, block_hash)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user