Transaction: add back a constructor as deprecated

Problem: At the moment, we don't have a replacement.
This commit is contained in:
Andreas Schildbach 2023-09-06 13:17:36 +02:00
parent 7230fbf7e5
commit 0e8a51123b

View file

@ -323,6 +323,12 @@ public class Transaction extends BaseMessage {
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.