mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
Fix time to duty to round slot number (#11371)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
cac5d0f234
commit
b1e08307ed
@ -938,7 +938,7 @@ func (v *validator) logDuties(slot types.Slot, duties []*ethpb.DutiesResponse_Du
|
||||
}
|
||||
for i := types.Slot(0); i < params.BeaconConfig().SlotsPerEpoch; i++ {
|
||||
startTime := slots.StartTime(v.genesisTime, slotOffset+i)
|
||||
durationTillDuty := time.Until(startTime)
|
||||
durationTillDuty := time.Until(startTime) + time.Second
|
||||
|
||||
if len(attesterKeys[i]) > 0 {
|
||||
log.WithFields(logrus.Fields{
|
||||
|
Loading…
Reference in New Issue
Block a user