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 059fd2c commit d8465b3Copy full SHA for d8465b3
app/src/main/java/to/bitkit/repositories/LightningRepo.kt
@@ -536,7 +536,9 @@ class LightningRepo @Inject constructor(
536
channelId: String? = null,
537
isMaxAmount: Boolean = false,
538
): Result<Txid> =
539
- executeWhenNodeRunning("Send on-chain") {
+ executeWhenNodeRunning("sendOnChain") {
540
+ require(address.isNotEmpty()) { "Send address cannot be empty" }
541
+
542
val transactionSpeed = speed ?: settingsStore.data.first().defaultTransactionSpeed
543
val satsPerVByte = getFeeRateForSpeed(transactionSpeed, feeRates).getOrThrow().toUInt()
544
0 commit comments