Skip to content

Commit

Permalink
peer: don't pass bool to SubscribeChannelEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
halseth committed May 2, 2018
1 parent f06797a commit 08f1a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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 "+
Expand Down

0 comments on commit 08f1a36

Please sign in to comment.