We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e26b8f commit 19d6db0Copy full SHA for 19d6db0
app/src/main/java/to/bitkit/repositories/WalletRepo.kt
@@ -421,7 +421,7 @@ class WalletRepo @Inject constructor(
421
val hash = paymentHash()
422
if (hash != null) return@withContext hash
423
val address = getOnchainAddress()
424
- return@withContext if (address.isEmpty()) null else address
+ return@withContext address.ifEmpty { null }
425
}
426
427
// Pre-activity metadata tag management
app/src/main/java/to/bitkit/services/LightningService.kt
@@ -93,6 +93,7 @@ class LightningService @Inject constructor(
93
trustedPeersNoReserve = trustedPeerNodeIds,
94
perChannelReserveSats = 1u,
95
),
96
+ includeUntrustedPendingInSpendable = true,
97
)
98
99
val builder = Builder.fromConfig(config).apply {
0 commit comments