lnrpc.ChannelCloseSummary does not give remote channel balance on close. We can derive it.

remote balance = channel capacity - local balance - sum(pending htlcs) - commit fee(miner fee) - any anchors

the pending htlcs, commit fee, and anchors are inside the resolutions field

Reply to this note

Please Login to reply.

Discussion

someone audit me