Go fmt.
This commit is contained in:
parent
52701d826d
commit
f1e2de4f0c
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
2
peer.go
2
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.
|
// 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 {
|
||||||
|
|
Loading…
Reference in a new issue