Fix call on `zcashlc_is_valid_sapling_extended_spending_key` with `[CChar](key.utf8CString)`

This commit is contained in:
Francisco Gindre 2022-09-06 15:25:11 -03:00
parent 3f61e182d9
commit 16ec1ebb70
1 changed files with 1 additions and 1 deletions

View File

@ -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
}