mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
validator large state serialization bugfix + tdlib update for clients
This commit is contained in:
parent
dab7ee3f97
commit
24dc184a2e
10 changed files with 118 additions and 22 deletions
|
@ -270,7 +270,7 @@ struct LogEventString {
|
|||
return -static_cast<int64>(need_size);
|
||||
}
|
||||
dest.truncate(need_size);
|
||||
td::as<unsigned>(dest.data()) = tag;
|
||||
td::as<unsigned>(dest.data()) = unsigned(tag);
|
||||
td::as<int>(dest.data() + 4) = td::narrow_cast<int>(data.size());
|
||||
dest.substr(8).copy_from(data);
|
||||
return dest.size();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue