mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
rpcserver: add missing channelbalance log
This commit is contained in:
@@ -2173,6 +2173,9 @@ func (r *rpcServer) ChannelBalance(ctx context.Context,
|
|||||||
pendingOpenBalance += channel.LocalCommitment.LocalBalance.ToSatoshis()
|
pendingOpenBalance += channel.LocalCommitment.LocalBalance.ToSatoshis()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rpcsLog.Debugf("[channelbalance] balance=%v pending-open=%v",
|
||||||
|
balance, pendingOpenBalance)
|
||||||
|
|
||||||
return &lnrpc.ChannelBalanceResponse{
|
return &lnrpc.ChannelBalanceResponse{
|
||||||
Balance: int64(balance),
|
Balance: int64(balance),
|
||||||
PendingOpenBalance: int64(pendingOpenBalance),
|
PendingOpenBalance: int64(pendingOpenBalance),
|
||||||
|
Reference in New Issue
Block a user