Merge pull request #12742 from msooseth/style_fix

Fixing style issue in ExecutionFramework.cpp
This commit is contained in:
Daniel Kirchner 2022-03-04 15:23:25 +01:00 committed by GitHub
commit c9373061aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ h160 ExecutionFramework::logAddress(size_t _logIdx) const
bytes ExecutionFramework::logData(size_t _logIdx) const
{
const auto& data = m_evmcHost->recorded_logs.at(_logIdx).data;
auto const& data = m_evmcHost->recorded_logs.at(_logIdx).data;
// TODO: Return a copy of log data, because this is expected from REQUIRE_LOG_DATA(),
// but reference type like string_view would be preferable.
return {data.begin(), data.end()};