Skip to content

Commit 1a59083

Browse files
committed
chore: remove unused retry skip variable
1 parent 108729a commit 1a59083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/to/bitkit/repositories/LightningRepo.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ class LightningRepo @Inject constructor(
230230

231231
Result.success(Unit)
232232
} catch (e: Throwable) {
233-
if (shouldRetry && !isRecoveryMode) {
233+
if (shouldRetry) {
234234
Logger.warn("Start error, retrying after two seconds...", e = e, context = TAG)
235235
_lightningState.update { it.copy(nodeLifecycleState = initialLifecycleState) }
236236

0 commit comments

Comments
 (0)