Skip to content

Commit

Permalink
fix missing return, fix requesting mc block
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 committed Mar 9, 2024
1 parent 1d95597 commit 95b48ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions validator/impl/liteserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,7 @@ void LiteQuery::continue_lookupBlockWithProof_gotPrevBlockData(Ref<BlockData> pr
});
});
} else {
base_blk_id_alt_ = blk_id_;
td::actor::send_closure(actor_id(this), &LiteQuery::continue_lookupBlockWithProof_getClientMcBlockDataState, std::vector<std::pair<BlockIdExt, Ref<vm::Cell>>>());
}
}
Expand Down Expand Up @@ -2133,6 +2134,7 @@ void LiteQuery::continue_lookupBlockWithProof_buildProofLinks(td::Ref<BlockData>
if (prev_id == blk_id_) {
CHECK(base_blk_id_alt_.is_masterchain());
continue_lookupBlockWithProof_getClientMcBlockDataState(std::move(result));
return;
}
if (result.size() == 8) {
// Chains of shardblocks between masterchain blocks can't be longer than 8 (see collator.cpp:991)
Expand Down

0 comments on commit 95b48ff

Please sign in to comment.