File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
Sources/metamask-ios-sdk/Classes/Communication Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class SocketChannel {
41
41
socketManager = SocketManager (
42
42
socketURL: url,
43
43
config: [
44
- . log( false ) ,
44
+ . log( true ) ,
45
45
options
46
46
]
47
47
)
Original file line number Diff line number Diff line change @@ -99,12 +99,6 @@ class SocketClient: CommunicationClient {
99
99
handleDisconnection ( )
100
100
}
101
101
102
- func resetClient( ) {
103
- isConnected = false
104
- self . keyExchange. reset ( )
105
- tearDownConnection ? ( )
106
- }
107
-
108
102
func connect( ) {
109
103
guard !channel. isConnected else { return }
110
104
@@ -137,7 +131,6 @@ class SocketClient: CommunicationClient {
137
131
138
132
func clearSession( ) {
139
133
store. deleteData ( for: SESSION_KEY)
140
- resetClient ( )
141
134
setupClient ( )
142
135
}
143
136
@@ -289,7 +282,6 @@ private extension SocketClient {
289
282
)
290
283
291
284
if !self . connectionPaused {
292
- self . resetClient ( )
293
285
self . connectionPaused = true
294
286
}
295
287
}
You can’t perform that action at this time.
0 commit comments