Browse Source

fixing pr issues

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
148e2d8d14
  1. 4
      libethereum/Client.cpp
  2. 2
      libevm/ExtVMFace.h

4
libethereum/Client.cpp

@ -794,7 +794,7 @@ LocalisedLogEntries Client::logs(LogFilter const& _f) const
TransactionReceipt receipt = receipts[i];
if (_f.matches(receipt.bloom()))
{
auto sha3 = transaction(info.hash, i).sha3();
auto h = transaction(info.hash, i).sha3();
LogEntries le = _f.matches(receipt);
if (le.size())
{
@ -806,7 +806,7 @@ LocalisedLogEntries Client::logs(LogFilter const& _f) const
if (s)
s--;
else
ret.insert(ret.begin(), LocalisedLogEntry(le[j], n, sha3));
ret.insert(ret.begin(), LocalisedLogEntry(le[j], n, h));
}
}
}

2
libevm/ExtVMFace.h

@ -63,7 +63,7 @@ using LogEntries = std::vector<LogEntry>;
struct LocalisedLogEntry: public LogEntry
{
LocalisedLogEntry() {}
LocalisedLogEntry(LogEntry const& _le, unsigned _number, h256 _sha3 = h256(u256(0))): LogEntry(_le), number(_number), sha3(_sha3) {}
LocalisedLogEntry(LogEntry const& _le, unsigned _number, h256 _sha3 = {}): LogEntry(_le), number(_number), sha3(_sha3) {}
unsigned number = 0;
h256 sha3;

Loading…
Cancel
Save