From b1f184c4939e00e585d6c3937c81da02de5d2e9e Mon Sep 17 00:00:00 2001 From: CalDescent Date: Fri, 22 Apr 2022 16:31:44 +0100 Subject: [PATCH] Use DigibyteMainNetParams --- src/main/java/org/qortal/crosschain/Digibyte.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/qortal/crosschain/Digibyte.java b/src/main/java/org/qortal/crosschain/Digibyte.java index 6c7b4455..3ab5e78e 100644 --- a/src/main/java/org/qortal/crosschain/Digibyte.java +++ b/src/main/java/org/qortal/crosschain/Digibyte.java @@ -8,9 +8,9 @@ import java.util.Map; import org.bitcoinj.core.Coin; import org.bitcoinj.core.Context; import org.bitcoinj.core.NetworkParameters; -import org.bitcoinj.params.MainNetParams; import org.bitcoinj.params.RegTestParams; import org.bitcoinj.params.TestNet3Params; +import org.libdohj.params.DigibyteMainNetParams; import org.qortal.crosschain.ElectrumX.Server; import org.qortal.crosschain.ElectrumX.Server.ConnectionType; import org.qortal.settings.Settings; @@ -37,7 +37,7 @@ public class Digibyte extends Bitcoiny { MAIN { @Override public NetworkParameters getParams() { - return MainNetParams.get(); + return DigibyteMainNetParams.get(); } @Override