Fix call on `zcashlc_is_valid_sapling_extended_spending_key` with `[CChar](key.utf8CString)`
This commit is contained in:
parent
3f61e182d9
commit
16ec1ebb70
|
@ -108,7 +108,7 @@ class ZcashRustBackend: ZcashRustBackendWelding {
|
|||
return false
|
||||
}
|
||||
|
||||
guard zcashlc_is_valid_sapling_extended_spending_key(key, networkType.networkId) else {
|
||||
guard zcashlc_is_valid_sapling_extended_spending_key([CChar](key.utf8CString), networkType.networkId) else {
|
||||
if let error = lastError() {
|
||||
throw error
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue