mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-15 23:13:28 +03:00
Remove accounts legacy from keychain
This commit is contained in:
parent
75eadd2441
commit
1f8e398653
@ -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] {
|
||||
|
Loading…
Reference in New Issue
Block a user