Add Stategen Log (#9460)

* add log

* amend it

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
Nishant Das
2021-08-25 22:34:09 +08:00
committed by GitHub
parent 0208d9b328
commit 0d60863bed

View File

@@ -25,6 +25,7 @@ func (s *State) ReplayBlocks(
defer span.End()
var err error
log.Debugf("Replaying state from slot %d till slot %d", state.Slot(), targetSlot)
// The input block list is sorted in decreasing slots order.
if len(signed) > 0 {
for i := len(signed) - 1; i >= 0; i-- {