mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
fixed bug in check_proof()
This commit is contained in:
parent
13140ddf29
commit
b90fa25ba4
1 changed files with 2 additions and 3 deletions
|
@ -220,11 +220,10 @@ bool CheckProof::init_parse(bool is_aux) {
|
||||||
}
|
}
|
||||||
block::gen::BlockExtra::Record extra;
|
block::gen::BlockExtra::Record extra;
|
||||||
if (!is_aux) {
|
if (!is_aux) {
|
||||||
/* FIXME: temp (uncommend later)
|
// FIXME: remove "is_key_block_ &&" later
|
||||||
if (!tlb::unpack_cell(std::move(blk.extra), extra)) {
|
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());
|
return fatal_error("cannot unpack extra header of block "s + blk_id.to_str());
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
if (is_key_block_ && !is_aux) {
|
if (is_key_block_ && !is_aux) {
|
||||||
// visit validator-set related fields in key blocks
|
// visit validator-set related fields in key blocks
|
||||||
|
|
Loading…
Reference in a new issue