This commit is contained in:
Dave Collins 2013-10-02 19:44:07 -05:00
parent 52701d826d
commit f1e2de4f0c
2 changed files with 2 additions and 2 deletions

View file

@ -409,7 +409,7 @@ out:
// bitch and whine. // bitch and whine.
} }
case not := <- b.chainNotifySink: case not := <-b.chainNotifySink:
b.handleNotifyMsg(not) b.handleNotifyMsg(not)
case <-b.quit: case <-b.quit:

View file

@ -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. // 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 { if p.persistent {
log.Errorf(fmt, args...) log.Errorf(fmt, args...)
} else { } else {