1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Fix tonlib method getShardBlockProof

This commit is contained in:
SpyCheese 2022-10-12 17:18:38 +03:00
parent 15f5a1d55a
commit 42efd1f31e

View file

@ -4818,7 +4818,7 @@ td::Status TonlibClient::do_request(const tonlib_api::blocks_getShardBlockProof&
TRY_RESULT(id, to_block_id(*request.id_));
ton::BlockIdExt from;
if (request.mode_ & 1) {
TRY_RESULT_ASSIGN(from, to_block_id(*request.id_));
TRY_RESULT_ASSIGN(from, to_block_id(*request.from_));
}
auto actor_id = actor_id_++;
actors_[actor_id] = td::actor::create_actor<GetShardBlockProof>("GetShardBlockProof", client_.get_client(), id, from,