mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix windows validator-engine.exe runtime access violation error (#387)
* Fix runtime access violation error on Windows
This commit is contained in:
parent
845cbca1e5
commit
65e3177def
12 changed files with 262 additions and 54 deletions
|
@ -3031,9 +3031,9 @@ void Collator::register_new_msgs(block::Transaction& trans) {
|
|||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
* Generate (parts of) new state and block
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
bool store_ext_blk_ref_to(vm::CellBuilder& cb, const ton::BlockIdExt& id_ext, ton::LogicalTime end_lt) {
|
||||
|
@ -3166,7 +3166,7 @@ bool Collator::create_mc_state_extra() {
|
|||
" contains an invalid configuration in its data, IGNORING CHANGES";
|
||||
ignore_cfg_changes = true;
|
||||
} else {
|
||||
cfg0 = cfg_dict.lookup_ref(td::BitArray<32>(1 - 1));
|
||||
cfg0 = cfg_dict.lookup_ref(td::BitArray<32>{(long long) 0});
|
||||
}
|
||||
bool changed_cfg = false;
|
||||
if (cfg0.not_null()) {
|
||||
|
@ -4041,9 +4041,9 @@ void Collator::return_block_candidate(td::Result<td::Unit> saved) {
|
|||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*
|
||||
* Collator register methods
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
td::Result<bool> Collator::register_external_message_cell(Ref<vm::Cell> ext_msg, const ExtMessage::Hash& ext_hash) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue