We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27556d commit 0b749c8Copy full SHA for 0b749c8
1 file changed
app/src/main/java/to/bitkit/ext/ChannelDetails.kt
@@ -14,7 +14,9 @@ import org.lightningdevkit.ldknode.MaxDustHtlcExposure
14
* - outbound_capacity: What we can spend now over Lightning
15
* - our_reserve: Our reserve that we get back on close
16
*/
17
+@Suppress("ForbiddenComment")
18
val ChannelDetails.amountOnClose: ULong
19
+ // TODO: use channelDetails.claimableOnCloseSats
20
get() {
21
val outboundCapacitySat = this.outboundCapacityMsat / 1000u
22
val ourReserve = this.unspendablePunishmentReserve ?: 0u
0 commit comments