Skip to content

Commit d3ccaf1

Browse files
committed
review comments
1 parent e53a71f commit d3ccaf1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

p2p/communication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func (c *Communication) bootStrapConnectivityCheck() error {
248248
}
249249

250250
func (c *Communication) startChannel(privKeyBytes []byte) error {
251-
c.logger.Warn().Msgf("No DHT enabled")
251+
c.logger.Info().Msgf("No DHT enabled; use private gossip instead.")
252252
p2pPriKey, err := crypto.UnmarshalSecp256k1PrivateKey(privKeyBytes)
253253
if err != nil {
254254
c.logger.Error().Msgf("error is %f", err)

p2p/communication_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77

88
"github.com/libp2p/go-libp2p/core/peer"
99
maddr "github.com/multiformats/go-multiaddr"
10-
"github.com/rs/zerolog"
1110
"gitlab.com/thorchain/tss/go-tss/messages"
1211

1312
"github.com/libp2p/go-libp2p/core/crypto"
@@ -40,8 +39,6 @@ func checkExist(a []maddr.Multiaddr, b string) bool {
4039
}
4140

4241
func (CommunicationTestSuite) TestEstablishP2pCommunication(c *C) {
43-
// Set the log level to Info
44-
zerolog.SetGlobalLevel(zerolog.InfoLevel)
4542

4643
bootstrapPeerID, err := peer.Decode("16Uiu2HAm4TmEzUqy3q3Dv7HvdoSboHk5sFj2FH3npiN5vDbJC6gh")
4744
c.Assert(err, IsNil)

0 commit comments

Comments
 (0)