remove unused type `UFVK`
This commit is contained in:
parent
094d660fca
commit
3f61e182d9
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue