aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv2/whisper.go
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-08 19:48:06 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-08 19:48:06 +0800
commitd375193797e8198a82c6a1796064ffb289c6956e (patch)
treee725c3f2b03367933e4832bb603458b0c9bce500 /whisper/whisperv2/whisper.go
parent374c49e0ac0f636eb37a31833f91f28ad1859750 (diff)
downloadgo-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.gz
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.bz2
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.lz
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.xz
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.tar.zst
go-tangerine-d375193797e8198a82c6a1796064ffb289c6956e.zip
whisper: fix megacheck warnings (#14925)
* whisper: fix megacheck warnings * whisper/whisperv5: regenerate json codec to fix unused override type
Diffstat (limited to 'whisper/whisperv2/whisper.go')
-rw-r--r--whisper/whisperv2/whisper.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisperv2/whisper.go b/whisper/whisperv2/whisper.go
index 1d7c21bd1..61c36918d 100644
--- a/whisper/whisperv2/whisper.go
+++ b/whisper/whisperv2/whisper.go
@@ -173,7 +173,7 @@ func (self *Whisper) Send(envelope *Envelope) error {
// Start implements node.Service, starting the background data propagation thread
// of the Whisper protocol.
func (self *Whisper) Start(*p2p.Server) error {
- log.Info(fmt.Sprint("Whisper started"))
+ log.Info("Whisper started")
go self.update()
return nil
}
@@ -182,7 +182,7 @@ func (self *Whisper) Start(*p2p.Server) error {
// of the Whisper protocol.
func (self *Whisper) Stop() error {
close(self.quit)
- log.Info(fmt.Sprint("Whisper stopped"))
+ log.Info("Whisper stopped")
return nil
}