[#607] *: Do not use deprecated elements of code
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cbe20a2bac
commit
43eff09944
11 changed files with 42 additions and 34 deletions
|
@ -3,6 +3,7 @@ package innerring
|
|||
import (
|
||||
"context"
|
||||
"crypto/ecdsa"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
|
@ -80,7 +81,7 @@ func (c *ClientCache) getSG(ctx context.Context, addr *object.Address, nm *netma
|
|||
err := netAddr.FromIterator(node)
|
||||
if err != nil {
|
||||
c.log.Warn("can't parse remote address",
|
||||
zap.String("address", node.Address()),
|
||||
zap.String("key", hex.EncodeToString(node.PublicKey())),
|
||||
zap.String("error", err.Error()))
|
||||
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue