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.
Warning::NeedConnections
1 parent 3c4ed6f commit b4db0aeCopy full SHA for b4db0ae
BDKSwiftExampleWallet/Extensions/BDK+Extensions/CbfClient+Extensions.swift
@@ -29,7 +29,6 @@ extension CbfClient {
29
30
func startBackgroundMonitoring() {
31
Task {
32
- var isConnected = false
33
while true {
34
if let log = try? await self.nextLog() {
35
// Parse specific sync stage messages
@@ -42,17 +41,6 @@ extension CbfClient {
42
41
)
43
}
44
45
-
46
- if log.contains("Need connections") && isConnected {
47
- isConnected = false
48
- await MainActor.run {
49
- NotificationCenter.default.post(
50
- name: NSNotification.Name("KyotoConnectionUpdate"),
51
- object: nil,
52
- userInfo: ["connected": false]
53
- )
54
- }
55
56
57
58
0 commit comments