From 856379f65b6b69d5136fcbe38d55e3899640adb8 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Tue, 13 Oct 2020 14:24:54 +0200 Subject: [PATCH] fix: fix log message (#1312) 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); }