1
0
Fork 0
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:
ton 2021-01-07 22:48:04 +03:00
parent dab7ee3f97
commit 24dc184a2e
10 changed files with 118 additions and 22 deletions

View file

@ -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();