Commit c854143a authored by masala's avatar masala

format debug msg

parent 4483fe79
......@@ -141,9 +141,9 @@ func (s *state) fsm() <-chan time.Time {
s.Lock()
var sleep time.Duration
epoch, elapsed, nextEpoch := epochtime.Now()
s.log.Debugf("Current epoch %d, remaining time: %d", epoch, nextEpoch)
s.log.Debugf("Current epoch %d, remaining time: %s", epoch, nextEpoch)
if nextEpoch < 3 * time.Minute { // bootstrap time
s.log.Debugf("Too close to epoch boundary, sleeping for %d", nextEpoch)
s.log.Debugf("Too close to epoch boundary, sleeping for %s", nextEpoch)
<-time.After(nextEpoch)
s.votingEpoch = epoch + 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment