Skip to content

Commit 319e4ce

Browse files
committed
fix: default trustedPeers to emptyList
1 parent 47fee28 commit 319e4ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/to/bitkit/services/LightningService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class LightningService @Inject constructor(
7575
private val _syncStatusChanged = MutableSharedFlow<Unit>(extraBufferCapacity = 1)
7676
val syncStatusChanged: SharedFlow<Unit> = _syncStatusChanged.asSharedFlow()
7777

78-
private lateinit var trustedPeers: List<PeerDetails>
78+
private var trustedPeers: List<PeerDetails> = emptyList()
7979

8080
private var listenerJob: Job? = null
8181

0 commit comments

Comments
 (0)