mirror of
https://github.com/danog/ton.git
synced 2024-11-26 20:14:55 +01:00
fixed bug in check_proof()
This commit is contained in:
parent
13140ddf29
commit
b90fa25ba4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user