From 4b95a8bdfa29387aef2a03522d1ce8b1bbfd8a6a Mon Sep 17 00:00:00 2001 From: Gitju Date: Thu, 6 Jul 2017 17:29:32 +0200 Subject: [PATCH] RegTestParams: MAX_TARGET to be created out of 64 hex digits --- core/src/main/java/org/bitcoinj/params/RegTestParams.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/bitcoinj/params/RegTestParams.java b/core/src/main/java/org/bitcoinj/params/RegTestParams.java index 5bde32c2..1bf6cbf1 100644 --- a/core/src/main/java/org/bitcoinj/params/RegTestParams.java +++ b/core/src/main/java/org/bitcoinj/params/RegTestParams.java @@ -26,7 +26,7 @@ import static com.google.common.base.Preconditions.checkState; * Network parameters for the regression test mode of bitcoind in which all blocks are trivially solvable. */ public class RegTestParams extends TestNet2Params { - private static final BigInteger MAX_TARGET = new BigInteger("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", 16); + private static final BigInteger MAX_TARGET = new BigInteger("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", 16); public RegTestParams() { super();