mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
TransactionOutput: remove deprecated method that takes NetworkParameters
This commit is contained in:
parent
e9e444a425
commit
0c6bd9cc13
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user