remove unused type `UFVK`

This commit is contained in:
Francisco Gindre 2022-09-06 15:21:20 -03:00
parent 094d660fca
commit 3f61e182d9
1 changed files with 0 additions and 13 deletions

View File

@ -755,11 +755,6 @@ class ZcashRustBackend: ZcashRustBackendWelding {
}
}
private struct UFVK {
var account: UInt32
var encoding: String
}
private extension ZcashRustBackend {
static func throwDataDbError(_ error: RustWeldingError) -> Error {
if case RustWeldingError.genericError(let message) = error, message.contains("is not empty") {
@ -785,11 +780,3 @@ extension String {
self.utf8CString.firstIndex(of: 0) != (self.utf8CString.count - 1)
}
}
fileprivate extension UnifiedFullViewingKey {
init(ufvk: UFVK) {
self.account = ufvk.account
self.encoding = ufvk.encoding
}
}