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

Don't send proof of masterchain message queue

This commit is contained in:
SpyCheese 2022-09-23 17:23:00 +03:00
parent 62a412ac13
commit b0c2c6c525
2 changed files with 26 additions and 11 deletions

View file

@ -1258,6 +1258,15 @@ bool ValidateQuery::request_neighbor_queues() {
if (full_collated_data_) {
for (block::McShardDescr& descr : neighbors_) {
LOG(DEBUG) << "getting outbound queue of neighbor #" << i << " from collated data : " << descr.blk_.to_str();
if (descr.blk_.is_masterchain()) {
if (descr.blk_ != mc_state_->get_block_id()) {
return fatal_error("neighbor from masterchain is not the last mc block");
}
++pending;
send_closure_later(get_self(), &ValidateQuery::got_neighbor_out_queue, i, mc_state_->message_queue());
++i;
continue;
}
td::Bits256 state_root_hash;
if (descr.blk_.seqno() == 0) {
state_root_hash = descr.blk_.root_hash;