mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Bugfix in proxy-liteserver
This commit is contained in:
parent
4d5b79224d
commit
a198ca7fe3
1 changed files with 2 additions and 0 deletions
|
@ -195,12 +195,14 @@ class ProxyLiteserver : public td::actor::Actor {
|
||||||
auto G = fetch_tl_prefix<lite_api::liteServer_queryPrefix>(data, true);
|
auto G = fetch_tl_prefix<lite_api::liteServer_queryPrefix>(data, true);
|
||||||
if (G.is_error()) {
|
if (G.is_error()) {
|
||||||
fatal_error(G.move_as_error());
|
fatal_error(G.move_as_error());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fetch_tl_prefix<lite_api::liteServer_waitMasterchainSeqno>(data, true).ignore();
|
fetch_tl_prefix<lite_api::liteServer_waitMasterchainSeqno>(data, true).ignore();
|
||||||
auto F2 = fetch_tl_object<ton::lite_api::Function>(std::move(data), true);
|
auto F2 = fetch_tl_object<ton::lite_api::Function>(std::move(data), true);
|
||||||
if (F2.is_error()) {
|
if (F2.is_error()) {
|
||||||
fatal_error(F2.move_as_error());
|
fatal_error(F2.move_as_error());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
auto query = F2.move_as_ok();
|
auto query = F2.move_as_ok();
|
||||||
lite_api::downcast_call(*query, [&](auto& obj) { shard_ = liteclient::get_query_shard(obj); });
|
lite_api::downcast_call(*query, [&](auto& obj) { shard_ = liteclient::get_query_shard(obj); });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue