diff --git a/include/evmc/mocked_host.hpp b/include/evmc/mocked_host.hpp index 9244204ce..87c894558 100644 --- a/include/evmc/mocked_host.hpp +++ b/include/evmc/mocked_host.hpp @@ -91,7 +91,7 @@ class MockedHost : public Host }; /// SELFDESTRUCT record. - struct selfdestuct_record + struct selfdestruct_record { /// The address of the account which has self-destructed. address selfdestructed; @@ -100,7 +100,7 @@ class MockedHost : public Host address beneficiary; /// Equal operator. - bool operator==(const selfdestuct_record& other) const noexcept + bool operator==(const selfdestruct_record& other) const noexcept { return selfdestructed == other.selfdestructed && beneficiary == other.beneficiary; } @@ -139,7 +139,7 @@ class MockedHost : public Host std::vector recorded_logs; /// The record of all SELFDESTRUCTs from the selfdestruct() method. - std::vector recorded_selfdestructs; + std::vector recorded_selfdestructs; private: /// The copy of call inputs for the recorded_calls record.