We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7d9ef commit 6f9aa72Copy full SHA for 6f9aa72
1 file changed
app/src/main/java/to/bitkit/repositories/PublicPaykitRepo.kt
@@ -243,8 +243,7 @@ class PublicPaykitRepo @Inject constructor(
243
-> {
244
val scan = coreService.decode(endpoint.paymentRequest) as? Scanner.OnChain ?: return@runCatching false
245
val address = validateBitcoinAddress(scan.invoice.address)
246
- onchainMethodId(scan.invoice.address) == endpoint.methodId &&
247
- !NetworkValidationHelper.isNetworkMismatch(address.network.toLdkNetwork(), Env.network)
+ !NetworkValidationHelper.isNetworkMismatch(address.network.toLdkNetwork(), Env.network)
248
}
249
250
}.getOrDefault(false)
0 commit comments