Skip to content

Commit 0b749c8

Browse files
committed
chore: add todo to use claimableOnCloseSats
1 parent a27556d commit 0b749c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/to/bitkit/ext/ChannelDetails.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import org.lightningdevkit.ldknode.MaxDustHtlcExposure
1414
* - outbound_capacity: What we can spend now over Lightning
1515
* - our_reserve: Our reserve that we get back on close
1616
*/
17+
@Suppress("ForbiddenComment")
1718
val ChannelDetails.amountOnClose: ULong
19+
// TODO: use channelDetails.claimableOnCloseSats
1820
get() {
1921
val outboundCapacitySat = this.outboundCapacityMsat / 1000u
2022
val ourReserve = this.unspendablePunishmentReserve ?: 0u

0 commit comments

Comments
 (0)