Skip to content

Commit

Permalink
consensus:dpos.go add check deadline log
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzi committed Jun 9, 2018
1 parent a63e4c2 commit f916252
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions consensus/dpos/dpos.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,11 @@ func (dpos *Dpos) mintBlock(now int64) error {

deadlineInMs, err := dpos.checkDeadline(tail, nowInMs)
if err != nil {
logging.VLog().WithFields(logrus.Fields{
"tail": tail,
"now": nowInMs,
"err": err,
}).Debug("checkDeadline")
return err
}

Expand Down

0 comments on commit f916252

Please sign in to comment.