add stubs, fix typo

This commit is contained in:
Francisco Gindre 2020-12-11 18:07:51 -03:00
parent 90cd2d0ff8
commit 0c9f3cb5ef
3 changed files with 9 additions and 1 deletions

View File

@ -18,6 +18,10 @@ struct LightWalletServiceMockResponse: LightWalletServiceResponse {
}
class MockLightWalletService: LightWalletService {
func fetchUTXOs(for tAddress: String, result: @escaping (Result<[UnspentTransactionOutputEntity], LightWalletServiceError>) -> Void) {
}
private var service = LightWalletGRPCService(channel: ChannelProvider().channel())

View File

@ -81,6 +81,10 @@ class MockRustBackend: ZcashRustBackendWelding {
false
}
static func deriveTransparentPrivateKeyFromSeed(seed: [UInt8]) throws -> String? {
nil
}
static func initAccountsTable(dbData: URL, exfvks: [String]) throws -> Bool {
false
}