Skip to content

Commit

Permalink
Fix "block is not applied" error
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 authored Jan 17, 2024
1 parent b6d91f8 commit 86cfe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonlib/tonlib/LastBlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void LastBlock::do_get_last_block() {
VLOG(last_block) << "get_last_block: continue " << state_.last_key_block_id.to_str() << " -> ?";
get_last_block_stats_.queries_++;
client_.send_query(
ton::lite_api::liteServer_getBlockProof(0, create_tl_lite_block_id(state_.last_key_block_id), nullptr),
ton::lite_api::liteServer_getBlockProof(2, create_tl_lite_block_id(state_.last_key_block_id), nullptr),
[this, from = state_.last_key_block_id](auto r_block_proof) {
this->on_block_proof(from, std::move(r_block_proof));
});
Expand Down

0 comments on commit 86cfe39

Please sign in to comment.