Skip to content

Commit 450967e

Browse files
authored
Merge pull request #667 from craigwilliams84/master
#666 Added missing hash field.
2 parents 8349907 + 1614b54 commit 450967e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • core/src/main/java/org/web3j/protocol/websocket/events

core/src/main/java/org/web3j/protocol/websocket/events/NewHead.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public class NewHead {
55
private String extraData;
66
private String gasLimit;
77
private String gasUsed;
8+
private String hash;
89
private String logsBloom;
910
private String miner;
1011
private String nonce;
@@ -32,6 +33,10 @@ public String getGasUsed() {
3233
return gasUsed;
3334
}
3435

36+
public String getHash() {
37+
return hash;
38+
}
39+
3540
public String getLogsBloom() {
3641
return logsBloom;
3742
}

0 commit comments

Comments
 (0)