mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add missing query to QueryTraits
This commit is contained in:
parent
d115807f6e
commit
b422d95b95
1 changed files with 7 additions and 0 deletions
|
@ -172,6 +172,13 @@ struct QueryTraits<ton::lite_api::liteServer_listBlockTransactions> {
|
|||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct QueryTraits<ton::lite_api::liteServer_listBlockTransactionsExt> {
|
||||
static ton::ShardIdFull get_shard(const ton::lite_api::liteServer_listBlockTransactionsExt& q) {
|
||||
return ton::ShardIdFull(q.id_->workchain_, q.id_->shard_);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct QueryTraits<ton::lite_api::liteServer_getBlockProof> {
|
||||
static ton::ShardIdFull get_shard(const ton::lite_api::liteServer_getBlockProof& q) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue