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 37b035a commit 369037eCopy full SHA for 369037e
app/src/main/java/to/bitkit/repositories/BlocktankRepo.kt
@@ -100,7 +100,8 @@ class BlocktankRepo @Inject constructor(
100
return@withContext runCatching {
101
val channel = lightningService.channels?.find { it.channelId == channelId }
102
_blocktankState.value.cjitEntries.any { order ->
103
- order.lspNode.pubkey == channel?.counterpartyNodeId
+ order.channelSizeSat == channel?.channelValueSats &&
104
+ order.lspNode.pubkey == channel.counterpartyNodeId
105
}
106
}.getOrDefault(false)
107
0 commit comments