mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
New extra currency behavior (#1539)
This commit is contained in:
parent
1b70e48327
commit
b3b2bd1c3c
17 changed files with 228 additions and 65 deletions
|
@ -1153,8 +1153,12 @@ td::Result<CellStorageStat::CellInfo> CellStorageStat::add_used_storage(Ref<vm::
|
|||
return ins.first->second;
|
||||
}
|
||||
}
|
||||
vm::CellSlice cs{vm::NoVm{}, std::move(cell)};
|
||||
return add_used_storage(std::move(cs), kill_dup, skip_count_root);
|
||||
vm::CellSlice cs{vm::NoVm{}, cell};
|
||||
TRY_RESULT(res, add_used_storage(std::move(cs), kill_dup, skip_count_root));
|
||||
if (kill_dup) {
|
||||
seen[cell->get_hash()] = res;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
void NewCellStorageStat::add_cell(Ref<Cell> cell) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue