Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 330530e

Browse files
committed
fix: removed old hack restoring a node
1 parent e0e8e68 commit 330530e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/ios/Ldk.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,7 @@ class Ldk: NSObject {
436436
)
437437

438438
do {
439-
//Only restore a node if we have existing channel monitors to restore. Else we lose our UserConfig settings when restoring.
440-
//TOOD remove this check in 114 which should allow passing in userConfig
441-
if let channelManagerSerialized = storedChannelManager, channelMonitorsSerialized.count > 0 {
439+
if let channelManagerSerialized = storedChannelManager {
442440
//Restoring node
443441
LdkEventEmitter.shared.send(withEvent: .native_log, body: "Restoring node from disk")
444442

0 commit comments

Comments
 (0)