From 57f576bbf1e1ec85520b3b1a5d981cf166554e6a Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 14 May 2017 18:51:26 -0700 Subject: [PATCH] rpc: include pending close channels in total limbo balance --- rpcserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcserver.go b/rpcserver.go index 2129f3f1..ac54c5d3 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -951,6 +951,8 @@ func (r *rpcServer) PendingChannels(ctx context.Context, }, ) + resp.TotalLimboBalance += channel.LocalBalance + // If the channel was force closed, then we'll need to query // the utxoNursery for additional information. case channeldb.ForceClose: