Skip to content

Commit

Permalink
Transaction: remove deprecated method and constructor that take Netwo…
Browse files Browse the repository at this point in the history
…rkParameters
  • Loading branch information
schildbach committed Sep 2, 2024
1 parent bc7883e commit 896e447
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions core/src/main/java/org/bitcoinj/core/Transaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,6 @@ public Transaction() {
vLockTime = LockTime.unset();
}

/** @deprecated use {@link #Transaction()} */
@Deprecated
public Transaction(NetworkParameters params) {
this();
}

/**
* Returns the transaction id as you see them in block explorers. It is used as a reference by transaction inputs
* via outpoints.
Expand Down Expand Up @@ -1822,12 +1816,4 @@ public static void verify(Network network, Transaction tx) throws VerificationEx
throw new VerificationException.UnexpectedCoinbaseInput();
}
}

/**
* @deprecated use {@link #verify(Network, Transaction)}
*/
@Deprecated
public static void verify(NetworkParameters params, Transaction tx) throws VerificationException {
verify(params.network(), tx);
}
}

0 comments on commit 896e447

Please sign in to comment.