Skip to content

Commit

Permalink
chore: remove logger from link preview
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaRogachev committed Nov 9, 2023
1 parent ca09eb0 commit b40e3af
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions protocol/common/message_linkpreview.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ import (
"fmt"
"net/url"

"go.uber.org/zap"

gethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/status-im/status-go/eth-node/crypto"
"github.com/status-im/status-go/eth-node/types"
"github.com/status-im/status-go/images"
"github.com/status-im/status-go/logutils"
"github.com/status-im/status-go/protocol/protobuf"
)

Expand Down Expand Up @@ -462,7 +459,6 @@ func (m *Message) ConvertFromProtoToStatusLinkPreviews(makeMediaServerURL func(m
if c := link.GetContact(); c != nil {
publicKey, err := crypto.DecompressPubkey(c.PublicKey)
if err != nil {
logutils.Logger().Warn("ConvertFromProtoToStatusLinkPreviews: failed to decompress contact public key", zap.Error(err))
continue
}

Expand Down

0 comments on commit b40e3af

Please sign in to comment.