diff --git a/src/main/java/conflux/web3j/response/Receipt.java b/src/main/java/conflux/web3j/response/Receipt.java index 3047298..0abc32c 100644 --- a/src/main/java/conflux/web3j/response/Receipt.java +++ b/src/main/java/conflux/web3j/response/Receipt.java @@ -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) {