File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
BDKSwiftExampleWallet/Extensions/BDK+Extensions Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -41,39 +41,6 @@ extension CbfClient {
41
41
userInfo: [ " progress " : Float ( 0.2 ) ]
42
42
)
43
43
}
44
- } else if log. contains ( " ]: headers " ) {
45
- await MainActor . run {
46
- NotificationCenter . default. post (
47
- name: NSNotification . Name ( " KyotoProgressUpdate " ) ,
48
- object: nil ,
49
- userInfo: [ " progress " : Float ( 0.4 ) ]
50
- )
51
- }
52
- } else if log. contains ( " Chain updated " ) {
53
- let components = log. components ( separatedBy: " " )
54
- if components. count >= 4 ,
55
- components [ 0 ] == " Chain " && components [ 1 ] == " updated " ,
56
- let height = UInt32 ( components [ 2 ] )
57
- {
58
- await MainActor . run {
59
- NotificationCenter . default. post (
60
- name: NSNotification . Name ( " KyotoChainHeightUpdate " ) ,
61
- object: nil ,
62
- userInfo: [ " height " : height]
63
- )
64
- }
65
- }
66
-
67
- if !isConnected {
68
- isConnected = true
69
- await MainActor . run {
70
- NotificationCenter . default. post (
71
- name: NSNotification . Name ( " KyotoConnectionUpdate " ) ,
72
- object: nil ,
73
- userInfo: [ " connected " : true ]
74
- )
75
- }
76
- }
77
44
}
78
45
79
46
if log. contains ( " Established an encrypted connection " ) && !isConnected {
You can’t perform that action at this time.
0 commit comments