rpc: include pending close channels in total limbo balance
This commit is contained in:
1 file changed
+2
@@ -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
|
// If the channel was force closed, then we'll need to query
|
||||||
// the utxoNursery for additional information.
|
// the utxoNursery for additional information.
|
||||||
case channeldb.ForceClose:
|
case channeldb.ForceClose:
|
||||||
|
|||||||
Reference in new issue
Block a user