mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
fixed crash in validator. Updated elector/config smartcontracts
This commit is contained in:
parent
9bff9285b8
commit
0e4277313c
9 changed files with 326 additions and 146 deletions
|
@ -578,6 +578,15 @@ bool MsgProcessedUptoCollection::already_processed(const EnqueuedMsgDescr& msg)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool MsgProcessedUptoCollection::can_check_processed() const {
|
||||
for (const auto& entry : list) {
|
||||
if (!entry.can_check_processed()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MsgProcessedUptoCollection::for_each_mcseqno(std::function<bool(ton::BlockSeqno)> func) const {
|
||||
for (const auto& entry : list) {
|
||||
if (!func(entry.mc_seqno)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue