We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20cc013 commit 2faf744Copy full SHA for 2faf744
1 file changed
app/src/main/java/to/bitkit/repositories/LightningRepo.kt
@@ -325,11 +325,7 @@ class LightningRepo @Inject constructor(
325
do {
326
syncPending.set(false)
327
_lightningState.update { it.copy(isSyncingWallet = true) }
328
- runCatching {
329
- lightningService.sync()
330
- }.onFailure {
331
- return@executeWhenNodeRunning Result.failure(it)
332
- }
+ lightningService.sync()
333
refreshChannelCache()
334
syncState()
335
if (syncPending.get()) delay(MS_SYNC_LOOP_DEBOUNCE)
0 commit comments