From b90fa25ba496b9b222f8ab68e7b1794893eadec3 Mon Sep 17 00:00:00 2001 From: ton Date: Wed, 18 Sep 2019 23:08:41 +0400 Subject: [PATCH] fixed bug in check_proof() --- validator/impl/check-proof.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/validator/impl/check-proof.cpp b/validator/impl/check-proof.cpp index db8d79a..e85055b 100644 --- a/validator/impl/check-proof.cpp +++ b/validator/impl/check-proof.cpp @@ -220,11 +220,10 @@ bool CheckProof::init_parse(bool is_aux) { } block::gen::BlockExtra::Record extra; if (!is_aux) { - /* FIXME: temp (uncommend later) - if (!tlb::unpack_cell(std::move(blk.extra), extra)) { + // FIXME: remove "is_key_block_ &&" later + if (is_key_block_ && !tlb::unpack_cell(std::move(blk.extra), extra)) { return fatal_error("cannot unpack extra header of block "s + blk_id.to_str()); } - */ } if (is_key_block_ && !is_aux) { // visit validator-set related fields in key blocks