diff --git a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java index 0d32745ce..7913dcd64 100644 --- a/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java +++ b/cj-btc-jsonrpc/src/main/java/org/consensusj/bitcoin/jsonrpc/BitcoinExtendedClient.java @@ -18,7 +18,6 @@ import org.bitcoinj.base.Address; import org.bitcoinj.base.Coin; import org.bitcoinj.crypto.ECKey; -import org.bitcoinj.core.NetworkParameters; import org.bitcoinj.base.Sha256Hash; import org.bitcoinj.core.Transaction; import org.bitcoinj.core.TransactionOutPoint; @@ -79,13 +78,8 @@ public BitcoinExtendedClient(Network network, URI server, String rpcuser, String this(JsonRpcTransport.getDefaultSSLContext(), network, server, rpcuser, rpcpassword); } - @Deprecated - public BitcoinExtendedClient(NetworkParameters netParams, URI server, String rpcuser, String rpcpassword) { - this(JsonRpcTransport.getDefaultSSLContext(), netParams.network(), server, rpcuser, rpcpassword); - } - public BitcoinExtendedClient(URI server, String rpcuser, String rpcpassword) { - this(JsonRpcTransport.getDefaultSSLContext(), (Network) null, server, rpcuser, rpcpassword); + this(JsonRpcTransport.getDefaultSSLContext(), null, server, rpcuser, rpcpassword); } public BitcoinExtendedClient(RpcConfig config) {