Skip to content

Commit

Permalink
Transaction: add back a constructor as deprecated
Browse files Browse the repository at this point in the history
Problem: At the moment, we don't have a replacement.
  • Loading branch information
schildbach committed Dec 20, 2023
1 parent 7230fbf commit 0e8a511
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/main/java/org/bitcoinj/core/Transaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,12 @@ 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

0 comments on commit 0e8a511

Please sign in to comment.