mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
Fix bug in --builder-proposals (#5151)
* Fix bug in `--builder-proposals` * Add tests * More sensible test order * Fix duplicate builder-boost test case * Cargo fmt and rename
This commit is contained in:
@@ -572,7 +572,7 @@ impl<T: SlotClock + 'static, E: EthSpec> ValidatorStore<T, E> {
|
||||
return Some(u64::MAX);
|
||||
}
|
||||
self.builder_boost_factor.or({
|
||||
if self.builder_proposals {
|
||||
if !self.builder_proposals {
|
||||
Some(0)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user