mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix validating inbound msg queues
This commit is contained in:
parent
869c6fe675
commit
32b3fe748a
3 changed files with 14 additions and 34 deletions
|
@ -3805,6 +3805,9 @@ bool Collator::store_master_ref(vm::CellBuilder& cb) {
|
|||
bool Collator::update_processed_upto() {
|
||||
auto ref_mc_seqno = is_masterchain() ? new_block_seqno : prev_mc_block_seqno;
|
||||
update_min_mc_seqno(ref_mc_seqno);
|
||||
if (in_msg_dict->is_empty()) {
|
||||
return true;
|
||||
}
|
||||
if (last_proc_int_msg_.first) {
|
||||
if (!processed_upto_->insert(ref_mc_seqno, last_proc_int_msg_.first, last_proc_int_msg_.second.cbits())) {
|
||||
return fatal_error("cannot update our ProcessedUpto to reflect processed inbound message");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue