From f53e5f4b95d4863b23032ecc1cbab6e1bfa8cfed Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Mon, 12 Oct 2020 15:14:03 +0200 Subject: [PATCH] fix: fix log message The log message was wrong. It's about the hash of the concatenated `comm_c` and `comm_r_last`. This was brought up at https://github.com/filecoin-project/rust-fil-proofs/issues/1308#issuecomment-706824651 --- storage-proofs/post/src/fallback/vanilla.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage-proofs/post/src/fallback/vanilla.rs b/storage-proofs/post/src/fallback/vanilla.rs index 3810f48db..e453f8d3e 100644 --- a/storage-proofs/post/src/fallback/vanilla.rs +++ b/storage-proofs/post/src/fallback/vanilla.rs @@ -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); }