mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 22:25:41 +01:00
TransactionInput: don't use setParent()
in constructor
This commit is contained in:
parent
7a558fb557
commit
148a40b2ed
1 changed files with 1 additions and 1 deletions
|
@ -131,11 +131,11 @@ public class TransactionInput {
|
|||
private TransactionInput(@Nullable Transaction parentTransaction, byte[] scriptBytes,
|
||||
TransactionOutPoint outpoint, long sequence, @Nullable Coin value) {
|
||||
checkArgument(value == null || value.signum() >= 0, () -> "value out of range: " + value);
|
||||
parent = parentTransaction;
|
||||
this.scriptBytes = scriptBytes;
|
||||
this.outpoint = outpoint;
|
||||
this.sequence = sequence;
|
||||
this.value = value;
|
||||
setParent(parentTransaction);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue