TransactionOutput: remove deprecated method that takes NetworkParameters

This commit is contained in:
Andreas Schildbach 2024-09-02 21:45:57 +02:00
parent e9e444a425
commit 0c6bd9cc13

View File

@ -119,12 +119,6 @@ public class TransactionOutput {
availableForSpending = true;
}
/** @deprecated use {@link TransactionOutput#TransactionOutput(Transaction, Coin, byte[])} */
@Deprecated
public TransactionOutput(NetworkParameters params, @Nullable Transaction parent, Coin value, byte[] scriptBytes) {
this(parent, value, scriptBytes);
}
public Script getScriptPubKey() throws ScriptException {
if (scriptPubKey == null) {
scriptPubKey = Script.parse(scriptBytes);