rpc: include pending close channels in total limbo balance

This commit is contained in:
Olaoluwa Osuntokun 2017-05-14 18:51:26 -07:00
parent 1124b4556f
commit 57f576bbf1
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

View File

@ -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: