[#1765] Use hex format to print storage node ID

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2022-10-11 15:49:34 +03:00 committed by fyrchik
parent 5a2daadd37
commit 8714fc42b5
13 changed files with 23 additions and 29 deletions

View file

@ -2,7 +2,6 @@ package auditor
import (
"bytes"
"encoding/hex"
"sync"
"time"
@ -143,7 +142,7 @@ func (c *Context) collectHashes(p *gamePair) {
if err != nil {
c.log.Debug("could not get payload range hash",
zap.Stringer("id", p.id),
zap.String("node", hex.EncodeToString(n.PublicKey())),
zap.String("node", netmap.StringifyPublicKey(n)),
zap.String("error", err.Error()),
)
return res