mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
rpcserver: add missing channelbalance log
This commit is contained in:
parent
985ac7f5b7
commit
8ab56b2a5c
1 changed files with 3 additions and 0 deletions
|
@ -2173,6 +2173,9 @@ func (r *rpcServer) ChannelBalance(ctx context.Context,
|
|||
pendingOpenBalance += channel.LocalCommitment.LocalBalance.ToSatoshis()
|
||||
}
|
||||
|
||||
rpcsLog.Debugf("[channelbalance] balance=%v pending-open=%v",
|
||||
balance, pendingOpenBalance)
|
||||
|
||||
return &lnrpc.ChannelBalanceResponse{
|
||||
Balance: int64(balance),
|
||||
PendingOpenBalance: int64(pendingOpenBalance),
|
||||
|
|
Loading…
Add table
Reference in a new issue