librustzcash: Correctly map sprout_path

This commit is contained in:
Jack Grigg 2019-08-23 12:21:47 +01:00
parent 5e706d5d84
commit ba3705cb5e
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ pub extern "system" fn librustzcash_init_zksnark_params(
spend_hash,
Path::new(&output_path),
output_hash,
Path::new(&sprout_path),
sprout_path.as_ref().map(|p| Path::new(p)),
sprout_hash,
)
}