An advanced Ethereum/EVM mobile wallet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alpha-wallet-ios/AlphaWalletTests/Factories/FakeTransactionsStorage.swift

13 lines
368 B

7 years ago
// Copyright SIX DAY LLC. All rights reserved.
import Foundation
@testable import AlphaWallet
7 years ago
import RealmSwift
class FakeTransactionsStorage: TransactionsStorage {
convenience init() {
let realm = try! Realm(configuration: Realm.Configuration(inMemoryIdentifier: "MyInMemoryRealm"))
self.init(realm: realm, server: .main, delegate: nil)
7 years ago
}
}