From 219c79e726bdae6a99064f06cc07856153b1328b Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sat, 7 Jan 2017 19:19:24 -0800 Subject: [PATCH] rpcserver: don't error out in ListChannels if unable to retrieve chanID --- rpcserver.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rpcserver.go b/rpcserver.go index 9bf14f63..16c3d8d3 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -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,