Skip to content

Commit

Permalink
SendRequest: remove deprecated method that takes NetworkParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Sep 2, 2024
1 parent 96c60b6 commit f567b20
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/main/java/org/bitcoinj/wallet/SendRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.bitcoinj.crypto.AesKey;
import org.bitcoinj.core.Context;
import org.bitcoinj.crypto.ECKey;
import org.bitcoinj.core.NetworkParameters;
import org.bitcoinj.core.Transaction;
import org.bitcoinj.core.TransactionOutput;
import org.bitcoinj.utils.ExchangeRate;
Expand Down Expand Up @@ -190,12 +189,6 @@ public static SendRequest to(ECKey destination, Coin value) {
return new SendRequest(tx);
}

/** @deprecated use {@link #to(ECKey, Coin)} */
@Deprecated
public static SendRequest to(NetworkParameters params, ECKey destination, Coin value) {
return to(destination, value);
}

/** Simply wraps a pre-built incomplete transaction provided by you. */
public static SendRequest forTx(Transaction tx) {
return new SendRequest(tx);
Expand Down

0 comments on commit f567b20

Please sign in to comment.