Skip to content

Commit

Permalink
BitcoinExtendedClient: remove deprecated constructor (NetworkParameters)
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Sep 26, 2023
1 parent 55ff363 commit 6d5997b
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 6d5997b

Please sign in to comment.