diff --git a/blockmanager.go b/blockmanager.go index d3e3c8a2..ae935e4d 100644 --- a/blockmanager.go +++ b/blockmanager.go @@ -409,7 +409,7 @@ out: // bitch and whine. } - case not := <- b.chainNotifySink: + case not := <-b.chainNotifySink: b.handleNotifyMsg(not) case <-b.quit: diff --git a/peer.go b/peer.go index d3077e43..2c33d3bc 100644 --- a/peer.go +++ b/peer.go @@ -1162,7 +1162,7 @@ func newOutboundPeer(s *server, addr string, persistent bool) *peer { } // logError makes sure that we only log errors loudly on user peers. -func (p *peer) logError(fmt string, args...interface{}) { +func (p *peer) logError(fmt string, args ...interface{}) { if p.persistent { log.Errorf(fmt, args...) } else {