mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated smartcontracts
- updated smartcontracts - updated fullnode database layout - fixed memory leak in blockchain-explorer - updated tonlib
This commit is contained in:
parent
9c9248a9ae
commit
c860ce3d1e
104 changed files with 7309 additions and 1335 deletions
|
@ -188,7 +188,7 @@ void DownloadState::got_block_state_part(td::BufferSlice data, td::uint32 reques
|
|||
parts_.push_back(std::move(data));
|
||||
|
||||
if (last_part) {
|
||||
td::BufferSlice res{sum_};
|
||||
td::BufferSlice res{td::narrow_cast<std::size_t>(sum_)};
|
||||
auto S = res.as_slice();
|
||||
for (auto &p : parts_) {
|
||||
S.copy_from(p.as_slice());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue