We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79fe1d9 commit 3a98c0eCopy full SHA for 3a98c0e
1 file changed
app/src/main/java/to/bitkit/ext/ChannelDetails.kt
@@ -14,10 +14,10 @@ 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
+ @Suppress("ForbiddenComment")
20
get() {
+ // TODO: use channelDetails.claimableOnCloseSats
21
val outboundCapacitySat = this.outboundCapacityMsat / 1000u
22
val ourReserve = this.unspendablePunishmentReserve ?: 0u
23
0 commit comments