Remove accounts legacy from keychain

This commit is contained in:
Ivan Grachyov 2021-08-01 18:22:22 +03:00
parent 75eadd2441
commit 1f8e398653

View File

@ -65,17 +65,6 @@ struct Keychain {
removeData(forKey: .legacyAccounts)
}
// TODO: remove
var accounts: [LegacyAccountWithKey] {
return (try? getLegacyAccounts()) ?? []
}
// TODO: remove
func save(accounts: [LegacyAccountWithKey]) throws {
guard let data = try? JSONEncoder().encode(accounts) else { return }
save(data: data, key: .legacyAccounts)
}
// MARK: - WalletCore
func getAllWalletsIds() -> [String] {