Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Apr 22, 2022
1 parent 1254241 commit b3300a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actors/runtime/src/runtime/fvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,11 @@ where
#[cfg(feature = "fake-proofs")]
fn verify_post(&self, verify_info: &WindowPoStVerifyInfo) -> Result<(), Error> {
if verify_info.proofs.len() == 0 {
return Err(Error::msg("[fake-post-validation] No winning post proof given"))
return Err(Error::msg("[fake-post-validation] No winning post proof given"));
}

if &verify_info.proofs[0].proof_bytes == b"valid proof" {
return Ok(())
return Ok(());
}

Err(Error::msg("[fake-post-validation] winning post was invalid"))
Expand Down

0 comments on commit b3300a8

Please sign in to comment.