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

updated pow-miner + small bugfix

This commit is contained in:
ton 2020-07-10 13:46:16 +03:00 committed by tolya-yanot
parent b84e3e9735
commit b36118dd27
16 changed files with 344 additions and 25 deletions

View file

@ -118,6 +118,10 @@ td::Ref<vm::Cell> GenericAccount::create_ext_message(const block::StdAddress& ad
td::Ref<vm::Cell> res;
tlb::type_pack_cell(res, block::gen::t_Message_Any, message);
if (res.is_null()) {
/* body */ { message.body = vm::CellBuilder().store_ones(1).store_ref(std::move(body)).as_cellslice_ref(); }
tlb::type_pack_cell(res, block::gen::t_Message_Any, message);
}
CHECK(res.not_null());
return res;