Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Events API: Transaction dropped, sync status, and renames #1919

Merged
merged 24 commits into from
Sep 11, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert LogWithMetadata change
  • Loading branch information
RatanRSur committed Sep 11, 2019
commit 7a27061ca651e8c8e26eb3d26d14bd00678b996f
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public class LogWithMetadata {
this.removed = removed;
}

// The index of this log within the entire ordered list of logs associated with the block this log
// belongs to.
public int getLogIndex() {
return logIndex;
}
Expand All @@ -74,7 +76,7 @@ public int getTransactionIndex() {
return transactionIndex;
}

public Address getLogger() {
public Address getAddress() {
return address;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public Optional<AccountAdapter> getAccount(final DataFetchingEnvironment environ

return query
.getWorldState(blockNumber)
.map(ws -> new AccountAdapter(ws.get(logWithMetadata.getLogger())));
.map(ws -> new AccountAdapter(ws.get(logWithMetadata.getAddress())));
}
}