mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Flag to enable duty count down (#8161)
* Add a flag to enable count down * Add tests
This commit is contained in:
@@ -40,6 +40,10 @@ func (v *validator) LogAttestationsSubmitted() {
|
||||
}
|
||||
|
||||
func (v *validator) LogNextDutyTimeLeft(slot uint64) error {
|
||||
if !v.logDutyCountDown {
|
||||
return nil
|
||||
}
|
||||
|
||||
var nextDutySlot uint64
|
||||
var role string
|
||||
for _, duty := range v.duties.CurrentEpochDuties {
|
||||
|
||||
Reference in New Issue
Block a user