add stubs, fix typo
This commit is contained in:
parent
90cd2d0ff8
commit
0c9f3cb5ef
|
@ -74,7 +74,7 @@ class DerivationToolTests: XCTestCase {
|
|||
}
|
||||
|
||||
func testDeriveSecretKeyFromSeed() throws {
|
||||
XCTAss ertEqual(try DerivationTool.default.deriveTransparentPrivateKey(seed: [UInt8](seedData)), "127ec31a3482e53940aaefbc41c9621a344c84e4e16cc2c9af380d81b8f7bb74")
|
||||
XCTAssertEqual(try DerivationTool.default.deriveTransparentPrivateKey(seed: [UInt8](seedData)), "127ec31a3482e53940aaefbc41c9621a344c84e4e16cc2c9af380d81b8f7bb74")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue