Skip to content

Commit dde4dd3

Browse files
committed
fix: wrap result
1 parent 605d6aa commit dde4dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filecoin-proofs/tests/regression.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub(crate) fn regression_verify_seal_proof(record: &SealRegressionRecord) -> Res
125125
r.seed,
126126
&r.proof,
127127
),
128-
SECTOR_SIZE_4_KIB | SECTOR_SIZE_16_KIB | SECTOR_SIZE_32_KIB => true,
128+
SECTOR_SIZE_4_KIB | SECTOR_SIZE_16_KIB | SECTOR_SIZE_32_KIB => Ok(true),
129129
SECTOR_SIZE_8_MIB => verify_seal::<SectorShape8MiB>(
130130
&r.porep_config,
131131
r.comm_r,
@@ -146,7 +146,7 @@ pub(crate) fn regression_verify_seal_proof(record: &SealRegressionRecord) -> Res
146146
r.seed,
147147
&r.proof,
148148
),
149-
SECTOR_SIZE_1_GIB => true,
149+
SECTOR_SIZE_1_GIB => Ok(true),
150150
SECTOR_SIZE_32_GIB => verify_seal::<SectorShape32GiB>(
151151
&r.porep_config,
152152
r.comm_r,

0 commit comments

Comments
 (0)