Skip to content

Commit

Permalink
Merge pull request hyperledger-web3j#463 from e-Contract/pending-tx-v…
Browse files Browse the repository at this point in the history
…ar-tx-hash

transactionHash instead of blockHash
  • Loading branch information
conor10 authored Apr 3, 2018
2 parents 474efce + dfa501f commit 2e15aa1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ EthFilter sendRequest() throws IOException {
void process(List<EthLog.LogResult> logResults) {
for (EthLog.LogResult logResult : logResults) {
if (logResult instanceof EthLog.Hash) {
String blockHash = ((EthLog.Hash) logResult).get();
callback.onEvent(blockHash);
String transactionHash = ((EthLog.Hash) logResult).get();
callback.onEvent(transactionHash);
} else {
throw new FilterException(
"Unexpected result type: " + logResult.get() + ", required Hash");
Expand Down

0 comments on commit 2e15aa1

Please sign in to comment.