aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TestHelper.cpp4
-rw-r--r--vm.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 66370ca3..c4128932 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -293,8 +293,8 @@ void checkLog(LogEntries _resultLogs, LogEntries _expectedLogs)
for (size_t i = 0; i < _resultLogs.size(); ++i)
{
- BOOST_CHECK(_resultLogs[i].address == _expectedLogs[i].address);
- BOOST_CHECK(_resultLogs[i].topics == _expectedLogs[i].topics);
+ BOOST_CHECK_EQUAL(_resultLogs[i].address, _expectedLogs[i].address);
+ BOOST_CHECK_EQUAL(_resultLogs[i].topics, _expectedLogs[i].topics);
BOOST_CHECK(_resultLogs[i].data == _expectedLogs[i].data);
}
}
diff --git a/vm.cpp b/vm.cpp
index 5b3c010f..edb98371 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -149,9 +149,7 @@ void FakeExtVM::importLog(mObject& _o)
LogEntry log;
log.address = Address(o["address"].get_str());
for (auto const& t: o["topics"].get_array())
- {
log.topics.insert(h256(t.get_str()));
- }
log.data = importData(o);
sub.logs.push_back(log);
}