mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add logs add-collator
This commit is contained in:
parent
50ee01557f
commit
160b539eaa
2 changed files with 8 additions and 4 deletions
|
@ -151,8 +151,8 @@ inline td::Result<ton::ShardIdFull> Tokenizer::get_token() {
|
|||
auto r_wc = td::to_integer_safe<ton::WorkchainId>(word);
|
||||
if (r_wc.is_ok()) {
|
||||
TRY_RESULT_ASSIGN(word, get_raw_token());
|
||||
TRY_RESULT(shard, td::to_integer_safe<ton::ShardId>(word));
|
||||
return ton::ShardIdFull{r_wc.move_as_ok(), shard};
|
||||
TRY_RESULT(shard, td::to_integer_safe<td::int64>(word));
|
||||
return ton::ShardIdFull{r_wc.move_as_ok(), (ton::ShardId)shard};
|
||||
}
|
||||
return ton::ShardIdFull::parse(word);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue