@@ -1221,7 +1221,6 @@ fn generate_data_commitment(
12211221
12221222#[ ffi_export]
12231223fn clear_cache (
1224- _sector_size : u64 ,
12251224 cache_dir_path : c_slice:: Ref < ' _ , u8 > ,
12261225) -> repr_c:: Box < ClearCacheResponse > {
12271226 catch_panic_response ( "clear_cache" , || {
@@ -1231,7 +1230,6 @@ fn clear_cache(
12311230
12321231#[ ffi_export]
12331232fn clear_synthetic_proofs (
1234- _sector_size : u64 ,
12351233 cache_dir_path : c_slice:: Ref < ' _ , u8 > ,
12361234) -> repr_c:: Box < ClearCacheResponse > {
12371235 catch_panic_response ( "clear_synthetic_proofs" , || {
@@ -1871,9 +1869,6 @@ pub mod tests {
18711869 destroy_generate_synth_proofs_response ( resp_p1) ;
18721870
18731871 let resp_clear = clear_cache (
1874- api:: RegisteredSealProof :: from ( registered_proof_seal)
1875- . sector_size ( )
1876- . 0 ,
18771872 cache_dir_path_ref. into ( ) ,
18781873 ) ;
18791874 if resp_clear. status_code != FCPResponseStatus :: NoError {
@@ -1900,9 +1895,6 @@ pub mod tests {
19001895 if registered_proof_seal == RegisteredSealProof :: StackedDrg2KiBV1_1_Feat_SyntheticPoRep
19011896 {
19021897 let resp_clear = clear_synthetic_proofs (
1903- api:: RegisteredSealProof :: from ( registered_proof_seal)
1904- . sector_size ( )
1905- . 0 ,
19061898 cache_dir_path_ref. into ( ) ,
19071899 ) ;
19081900 if resp_clear. status_code != FCPResponseStatus :: NoError {
@@ -2230,9 +2222,6 @@ pub mod tests {
22302222 }
22312223
22322224 let resp_clear = clear_cache (
2233- api:: RegisteredSealProof :: from ( registered_proof_seal)
2234- . sector_size ( )
2235- . 0 ,
22362225 cache_dir_path_ref. into ( ) ,
22372226 ) ;
22382227 if resp_clear. status_code != FCPResponseStatus :: NoError {
0 commit comments