diff --git a/whisper/whisperv6/topic.go b/whisper/whisperv6/topic.go
index 4dd8f283c357f6f35ee8b4e7b8a307fb895e96c9..ee255f785da8076945527259dab8d859a77b330b 100644
--- a/whisper/whisperv6/topic.go
+++ b/whisper/whisperv6/topic.go
@@ -19,7 +19,6 @@
 package whisperv6
 
 import (
-	"github.com/ethereum/go-ethereum/common"
 	"github.com/ethereum/go-ethereum/common/hexutil"
 )
 
@@ -43,7 +42,7 @@ func BytesToTopic(b []byte) (t TopicType) {
 
 // String converts a topic byte array to a string representation.
 func (t *TopicType) String() string {
-	return common.ToHex(t[:])
+	return hexutil.Encode(t[:])
 }
 
 // MarshalText returns the hex representation of t.
diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go
index eb713f84ee5c884232a4afd5696dc2ca52ed3f2d..a7787ca69f39011da2af699f488a720934fd4335 100644
--- a/whisper/whisperv6/whisper.go
+++ b/whisper/whisperv6/whisper.go
@@ -352,7 +352,7 @@ func (whisper *Whisper) getPeer(peerID []byte) (*Peer, error) {
 			return p, nil
 		}
 	}
-	return nil, fmt.Errorf("Could not find peer with ID: %x", peerID)
+	return nil, fmt.Errorf("could not find peer with ID: %x", peerID)
 }
 
 // AllowP2PMessagesFromPeer marks specific peer trusted,