mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Remove unused code
This commit is contained in:
parent
415ace3da9
commit
bdfca7afef
13 changed files with 28 additions and 121 deletions
|
@ -128,7 +128,7 @@ void ValidatorManagerImpl::sync_complete(td::Promise<td::Unit> promise) {
|
|||
}
|
||||
Ed25519_PublicKey created_by{td::Bits256::zero()};
|
||||
td::as<td::uint32>(created_by.as_bits256().data() + 32 - 4) = ((unsigned)std::time(nullptr) >> 8);
|
||||
run_collate_query(shard_id, 0, last_masterchain_block_id_, prev, created_by, val_set, actor_id(this),
|
||||
run_collate_query(shard_id, last_masterchain_block_id_, prev, created_by, val_set, actor_id(this),
|
||||
td::Timestamp::in(10.0), std::move(P));
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ void ValidatorManagerImpl::validate_fake(BlockCandidate candidate, std::vector<B
|
|||
}
|
||||
});
|
||||
auto shard = candidate.id.shard_full();
|
||||
run_validate_query(shard, 0, last, prev, std::move(candidate), std::move(val_set), actor_id(this),
|
||||
run_validate_query(shard, last, prev, std::move(candidate), std::move(val_set), actor_id(this),
|
||||
td::Timestamp::in(10.0), std::move(P), ValidateMode::fake);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue