We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 072c513 commit e8c9eb6Copy full SHA for e8c9eb6
BDKSwiftExampleWallet/Service/BDK Service/BDKService.swift
@@ -100,10 +100,10 @@ private class BDKService {
100
let storedClientType = try? keyClient.getClientType()
101
self.clientType = storedClientType ?? .esplora
102
103
- // Ensure Kyoto always uses Signet
+ // If starting in Kyoto, constrain in-memory network to Signet, but do not persist here.
104
+ // Persistence should happen only when the user confirms Kyoto via updateClientType/updateNetwork.
105
if self.clientType == .kyoto && self.network != .signet {
106
self.network = .signet
- try? keyClient.saveNetwork(Network.signet.description)
107
}
108
109
if self.clientType == .kyoto {
0 commit comments