forked from TrueCloudLab/neoneo-go
consensus: add preparation hash to logger
This commit is contained in:
parent
42dfb52e98
commit
e441cb1414
1 changed files with 2 additions and 1 deletions
|
@ -181,7 +181,8 @@ func (s *service) eventLoop() {
|
||||||
zap.Int("#preparation", len(rec.preparationPayloads)),
|
zap.Int("#preparation", len(rec.preparationPayloads)),
|
||||||
zap.Int("#commit", len(rec.commitPayloads)),
|
zap.Int("#commit", len(rec.commitPayloads)),
|
||||||
zap.Int("#changeview", len(rec.changeViewPayloads)),
|
zap.Int("#changeview", len(rec.changeViewPayloads)),
|
||||||
zap.Bool("#request", rec.prepareRequest != nil))
|
zap.Bool("#request", rec.prepareRequest != nil),
|
||||||
|
zap.Bool("#hash", rec.preparationHash != nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
s.log.Debug("received message", fields...)
|
s.log.Debug("received message", fields...)
|
||||||
|
|
Loading…
Reference in a new issue