rpcserver: don't error out in ListChannels if unable to retrieve chanID

This commit is contained in:
Olaoluwa Osuntokun 2017-01-07 19:19:24 -08:00
parent d046efb502
commit 219c79e726
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -718,10 +718,8 @@ func (r *rpcServer) ListChannels(ctx context.Context,
// With the channel point known, retrieve the network channel
// ID from the database.
chanID, err := graph.ChannelID(chanPoint)
if err != nil {
return nil, err
}
var chanID uint64
chanID, _ = graph.ChannelID(chanPoint)
channel := &lnrpc.ActiveChannel{
RemotePubkey: nodeID,