Fix bug in reduced tree fork choice
This commit is contained in:
parent
85b23f9f1b
commit
e485f3ee75
@ -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(())
|
||||
|
Loading…
Reference in New Issue
Block a user