1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Simplify loading virtual states from collated data, fix message queue cleanup

This commit is contained in:
SpyCheese 2025-01-27 11:49:18 +03:00
parent 54e498a3ba
commit 0763691f70
5 changed files with 45 additions and 75 deletions

View file

@ -84,7 +84,7 @@ td::Result<td::Ref<ShardState>> create_shard_state(BlockIdExt block_id, td::Buff
}
}
td::Result<td::Ref<ShardState>> create_shard_state(BlockIdExt block_id, td::Ref<vm::DataCell> root_cell) {
td::Result<td::Ref<ShardState>> create_shard_state(BlockIdExt block_id, td::Ref<vm::Cell> root_cell) {
auto res = ShardStateQ::fetch(block_id, {}, std::move(root_cell));
if (res.is_error()) {
return res.move_as_error();