Skip to content

Commit 259877c

Browse files
committed
fix: use consistent keyClient for all data access
Use self.keyClient.getBackupInfo() instead of KeyClient.live.getBackupInfo() to maintain consistency with LSP loading and ensure both backup info and LSP data come from the same source (live or mock) in all app modes.
1 parent 496ce86 commit 259877c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

LDKNodeMonday/App/WalletClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class WalletClient {
5252

5353
func start() async {
5454
var backupInfo: BackupInfo?
55-
backupInfo = try? KeyClient.live.getBackupInfo()
55+
backupInfo = try? self.keyClient.getBackupInfo()
5656

5757
if backupInfo != nil {
5858
do {

0 commit comments

Comments
 (0)