mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated tonlib, block routing
- upated tonlib - fixed bug in message routing
This commit is contained in:
parent
ac3eb1a7b8
commit
fd7a8de970
33 changed files with 1002 additions and 381 deletions
|
@ -552,7 +552,9 @@ bool MsgProcessedUpto::already_processed(const EnqueuedMsgDescr& msg) const {
|
|||
if (msg.lt_ == last_inmsg_lt && last_inmsg_hash < msg.hash_) {
|
||||
return false;
|
||||
}
|
||||
if (ton::shard_contains(shard, msg.cur_prefix_.account_id_prefix)) {
|
||||
if (msg.same_workchain() && ton::shard_contains(shard, msg.cur_prefix_.account_id_prefix)) {
|
||||
// this branch is needed only for messages generated in the same shard
|
||||
// (such messages could have been processed without a reference from the masterchain)
|
||||
// ? enable this branch only if an extra boolean parameter is set ?
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue