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:
parent
54e498a3ba
commit
0763691f70
5 changed files with 45 additions and 75 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue