mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Allow starting node with a newer hardfork in config (#538)
This commit is contained in:
parent
77204a549a
commit
33a0d1e8bc
1 changed files with 2 additions and 1 deletions
|
@ -354,7 +354,8 @@ void ValidatorManagerMasterchainStarter::got_init_block_handle(BlockHandle handl
|
|||
|
||||
void ValidatorManagerMasterchainStarter::got_init_block_state(td::Ref<MasterchainState> state) {
|
||||
state_ = std::move(state);
|
||||
CHECK(state_->get_block_id() == opts_->init_block_id() || state_->ancestor_is_valid(opts_->init_block_id()));
|
||||
CHECK(state_->get_block_id() == opts_->init_block_id() || state_->ancestor_is_valid(opts_->init_block_id()) ||
|
||||
state_->get_block_id().seqno() < opts_->get_last_fork_masterchain_seqno());
|
||||
//finish();
|
||||
|
||||
auto P = td::PromiseCreator::lambda(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue