From 95b48ff514ae94806b7736d326d74350c9408ca0 Mon Sep 17 00:00:00 2001 From: ms Date: Sat, 9 Mar 2024 19:33:19 +0100 Subject: [PATCH] fix missing return, fix requesting mc block --- validator/impl/liteserver.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validator/impl/liteserver.cpp b/validator/impl/liteserver.cpp index 1ac03c7da..c0a8a8fbc 100644 --- a/validator/impl/liteserver.cpp +++ b/validator/impl/liteserver.cpp @@ -2073,6 +2073,7 @@ void LiteQuery::continue_lookupBlockWithProof_gotPrevBlockData(Ref pr }); }); } else { + base_blk_id_alt_ = blk_id_; td::actor::send_closure(actor_id(this), &LiteQuery::continue_lookupBlockWithProof_getClientMcBlockDataState, std::vector>>()); } } @@ -2133,6 +2134,7 @@ void LiteQuery::continue_lookupBlockWithProof_buildProofLinks(td::Ref 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)