Skip to content

Commit

Permalink
fix: fix log message (#1312)
Browse files Browse the repository at this point in the history
The log message was wrong. It's about the hash of the concatenated
`comm_c` and `comm_r_last`.

This was brought up at
#1308 (comment)
  • Loading branch information
vmx authored Oct 13, 2020
1 parent be32766 commit 856379f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage-proofs/post/src/fallback/vanilla.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ impl<'a, Tree: 'a + MerkleTreeTrait> ProofScheme<'a> for FallbackPoSt<'a, Tree>
&comm_r_last,
)) != AsRef::<[u8]>::as_ref(comm_r)
{
error!("comm_c != comm_r_last: {:?}", sector_id);
error!("hash(comm_c || comm_r_last) != comm_r: {:?}", sector_id);
return Ok(false);
}

Expand Down

0 comments on commit 856379f

Please sign in to comment.