diff --git a/protocol/message_processor.go b/protocol/message_processor.go index 051708fef..3fc7e8a6c 100644 --- a/protocol/message_processor.go +++ b/protocol/message_processor.go @@ -240,7 +240,7 @@ func (p *messageProcessor) processPairMessage(m v1protocol.PairMessage) error { // It returns an error only if the processing of required steps failed. func (p *messageProcessor) handleMessages(shhMessage *types.Message, applicationLayer bool) ([]*v1protocol.StatusMessage, error) { logger := p.logger.With(zap.String("site", "handleMessages")) - hlogger := logger.With(zap.Binary("hash", shhMessage.Hash)) + hlogger := logger.With(zap.ByteString("hash", shhMessage.Hash)) var statusMessage v1protocol.StatusMessage err := statusMessage.HandleTransport(shhMessage) diff --git a/vendor/github.com/status-im/status-go/protocol/message_processor.go b/vendor/github.com/status-im/status-go/protocol/message_processor.go index 051708fef..3fc7e8a6c 100644 --- a/vendor/github.com/status-im/status-go/protocol/message_processor.go +++ b/vendor/github.com/status-im/status-go/protocol/message_processor.go @@ -240,7 +240,7 @@ func (p *messageProcessor) processPairMessage(m v1protocol.PairMessage) error { // It returns an error only if the processing of required steps failed. func (p *messageProcessor) handleMessages(shhMessage *types.Message, applicationLayer bool) ([]*v1protocol.StatusMessage, error) { logger := p.logger.With(zap.String("site", "handleMessages")) - hlogger := logger.With(zap.Binary("hash", shhMessage.Hash)) + hlogger := logger.With(zap.ByteString("hash", shhMessage.Hash)) var statusMessage v1protocol.StatusMessage err := statusMessage.HandleTransport(shhMessage)