1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-14 12:12:21 +00:00

Fix typos (#998)

This commit is contained in:
tom 2024-06-27 21:46:37 +08:00 committed by GitHub
parent 06f503dd02
commit fae7763ec7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -552,7 +552,7 @@ bool Collator::preprocess_prev_mc_state() {
/**
* Callback function called after retrieving the Masterchain state.
*
* @param res The retreived masterchain state.
* @param res The retrieved masterchain state.
*/
void Collator::after_get_mc_state(td::Result<std::pair<Ref<MasterchainState>, BlockIdExt>> res) {
LOG(WARNING) << "in Collator::after_get_mc_state()";
@ -620,7 +620,7 @@ void Collator::after_get_shard_state(int idx, td::Result<Ref<ShardState>> res) {
* Callback function called after retrieving block data for a previous block.
*
* @param idx The index of the previous block (0 or 1).
* @param res The retreived block data.
* @param res The retreved block data.
*/
void Collator::after_get_block_data(int idx, td::Result<Ref<BlockData>> res) {
LOG(DEBUG) << "in Collator::after_get_block_data(" << idx << ")";
@ -2637,7 +2637,7 @@ bool Collator::create_special_transactions() {
*
* @param smc_addr The address of the smart contract.
* @param req_start_lt The requested start logical time for the transaction.
* @param mask The value indicating wheter the thansaction is tick (mask == 2) or tock (mask == 1).
* @param mask The value indicating whether the thansaction is tick (mask == 2) or tock (mask == 1).
*
* @returns True if the transaction was created successfully, false otherwise.
*/
@ -2934,7 +2934,7 @@ bool Collator::update_last_proc_int_msg(const std::pair<ton::LogicalTime, ton::B
* Creates ticktock transactions for special accounts.
* Used in masterchain collator.
*
* @param mask The value indicating wheter the thansactions are tick (mask == 2) or tock (mask == 1).
* @param mask The value indicating whether the thansactions are tick (mask == 2) or tock (mask == 1).
*
* @returns True if all ticktock transactions were successfully created, false otherwise.
*/

View file

@ -1707,7 +1707,7 @@ void ValidateQuery::after_get_aux_shard_state(ton::BlockIdExt blkid, td::Result<
* @param wc_info The workchain information.
* @param ccvc The Catchain validators configuration.
*
* @returns True if the validation wasa successful, false othewise.
* @returns True if the validation wasa successful, false otherwise.
*/
bool ValidateQuery::check_one_shard(const block::McShardHash& info, const block::McShardHash* sibling,
const block::WorkchainInfo* wc_info, const block::CatchainValidatorsConfig& ccvc) {