Fix bug in reduced tree fork choice

This commit is contained in:
Paul Hauner 2019-06-20 18:44:50 +10:00
parent 85b23f9f1b
commit e485f3ee75
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

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(())