Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit c669ddb

Browse files
authored
Merge pull request #39 from horizontalsystems/not_synced_without_connect
Make all coins notSynced when try refresh ethereumKit.
2 parents ba616b3 + 7e99d39 commit c669ddb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

HSEthereumKit/HSEthereumKit/Core/EthereumKit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ public class EthereumKit {
155155

156156
public func refresh() {
157157
guard reachabilityManager.isReachable else {
158+
changeAllStates(state: .notSynced)
158159
return
159160
}
160161
guard kitState != .syncing else {

0 commit comments

Comments
 (0)