peer: don't pass bool to SubscribeChannelEvents

This commit is contained in:
Johan T. Halseth 2018-04-18 13:57:02 +02:00
parent f06797ab00
commit 08f1a3689d
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -403,7 +403,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
// necessary to properly route multi-hop payments, and forward
// new payments triggered by RPC clients.
chainEvents, err := p.server.chainArb.SubscribeChannelEvents(
*chanPoint, false,
*chanPoint,
)
if err != nil {
lnChan.Stop()
@ -1379,7 +1379,7 @@ out:
continue
}
chainEvents, err := p.server.chainArb.SubscribeChannelEvents(
*chanPoint, false,
*chanPoint,
)
if err != nil {
peerLog.Errorf("unable to subscribe to chain "+