Skip to content

Commit

Permalink
fix map
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Apr 22, 2022
1 parent 4d6fbb3 commit 64d3b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actors/runtime/src/runtime/fvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ where

#[cfg(feature = "fake-proofs")]
fn batch_verify_seals(&self, batch: &[SealVerifyInfo]) -> anyhow::Result<Vec<bool>> {
Ok(batch.map(|_| true))
Ok(batch.iter().map(|_| true).collect())
}

#[cfg(not(feature = "fake-proofs"))]
Expand Down

0 comments on commit 64d3b1b

Please sign in to comment.