mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix split-depth and collator
This commit is contained in:
parent
64e68a47ec
commit
6faeca69a2
2 changed files with 11 additions and 0 deletions
|
@ -395,6 +395,7 @@ bool Account::init_new(ton::UnixTime now) {
|
|||
}
|
||||
state_hash = addr_orig;
|
||||
status = orig_status = acc_nonexist;
|
||||
split_depth_set_ = false;
|
||||
created = true;
|
||||
return true;
|
||||
}
|
||||
|
@ -2243,6 +2244,8 @@ Ref<vm::Cell> Transaction::commit(Account& acc) {
|
|||
acc.tock = new_tock;
|
||||
} else {
|
||||
acc.tick = acc.tock = false;
|
||||
acc.split_depth_set_ = false;
|
||||
acc.created = true;
|
||||
}
|
||||
end_lt = 0;
|
||||
acc.push_transaction(root, start_lt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue