Skip to content

Commit

Permalink
hotfix: deserialize epoch number in receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
boqiu committed Jul 13, 2020
1 parent f5ecfb9 commit 2cb1d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/conflux/web3j/response/Receipt.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void setBlockHash(String blockHash) {
}

public BigInteger getEpochNumber() {
return new BigInteger(this.epochNumber);
return Numeric.decodeQuantity(this.epochNumber);
}

public void setEpochNumber(String epochNumber) {
Expand Down

0 comments on commit 2cb1d06

Please sign in to comment.