Skip to content

Commit c0130a6

Browse files
NathanBSCbuddh0
authored andcommitted
consensus/parlia: add debug log for backOffTime
1 parent 6f4f404 commit c0130a6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

consensus/parlia/parlia.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,10 @@ func (p *Parlia) backOffTime(snap *Snapshot, header *types.Header, val common.Ad
21242124
backOffSteps[i], backOffSteps[j] = backOffSteps[j], backOffSteps[i]
21252125
})
21262126

2127+
for i := uint64(0); i < uint64(n); i++ {
2128+
log.Debug("backOffTime", "Number", header.Number, "val", validators[i], "delay", delay+backOffSteps[i]*wiggleTime)
2129+
}
2130+
21272131
delay += backOffSteps[idx] * wiggleTime
21282132
return delay
21292133
}

0 commit comments

Comments
 (0)