From bc2e6389a2170fb917303c5d28500e7b6ae50291 Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Mon, 15 Apr 2024 09:33:15 -0400 Subject: [PATCH] Fix a couple fo typos in comments --- contracts/eosio.system/include/eosio.system/eosio.system.hpp | 2 +- contracts/eosio.system/src/finalizer_key.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/eosio.system/include/eosio.system/eosio.system.hpp b/contracts/eosio.system/include/eosio.system/eosio.system.hpp index 218de7dd..1730a8a8 100644 --- a/contracts/eosio.system/include/eosio.system/eosio.system.hpp +++ b/contracts/eosio.system/include/eosio.system/eosio.system.hpp @@ -342,7 +342,7 @@ namespace eosiosystem { // A single entry storing information about last proposed finalizers. // Should avoid using the global singleton pattern as it unnecessarily // serializes data at construction/desstruction of system_contract, - // even the data is not used. + // even if the data is not used. struct [[eosio::table("lastpropfins"), eosio::contract("eosio.system")]] last_prop_finalizers_info { std::vector last_proposed_finalizers; // sorted by ascending finalizer key id diff --git a/contracts/eosio.system/src/finalizer_key.cpp b/contracts/eosio.system/src/finalizer_key.cpp index 878c4a51..3e2b95db 100644 --- a/contracts/eosio.system/src/finalizer_key.cpp +++ b/contracts/eosio.system/src/finalizer_key.cpp @@ -44,7 +44,7 @@ namespace eosiosystem { return finalizer_itr; } - // If finalizers have changed since last round, establishs finalizer policy + // If finalizers have changed since last round, establishes finalizer policy // from `proposed_finalizers` and calls eosio::set_finalizers host function // Note: this function may never fail, as it can be called by update_elected_producers, // and in turn by onblock.