Skip to content

Commit

Permalink
Merge pull request #592 from ethereum/mocked-host-typo
Browse files Browse the repository at this point in the history
mocked_host: fix typo of selfdestuct_record to selfdestruct_record
  • Loading branch information
chfast authored Apr 26, 2021
2 parents b625b72 + d6d5667 commit c687f6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/evmc/mocked_host.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down Expand Up @@ -139,7 +139,7 @@ class MockedHost : public Host
std::vector<log_record> recorded_logs;

/// The record of all SELFDESTRUCTs from the selfdestruct() method.
std::vector<selfdestuct_record> recorded_selfdestructs;
std::vector<selfdestruct_record> recorded_selfdestructs;

private:
/// The copy of call inputs for the recorded_calls record.
Expand Down

0 comments on commit c687f6f

Please sign in to comment.