mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 22:58:32 +01:00
Fix duplicateDetached
This commit is contained in:
parent
a30cdfed0c
commit
4a9295ccde
1 changed files with 2 additions and 3 deletions
|
@ -99,10 +99,9 @@ public class TransactionInput extends ChildMessage implements Serializable {
|
|||
/**
|
||||
* Deserializes an input message. This is usually part of a transaction message.
|
||||
*/
|
||||
public TransactionInput(NetworkParameters params, Transaction parentTransaction,
|
||||
byte[] payload, int offset) throws ProtocolException {
|
||||
public TransactionInput(NetworkParameters params, @Nullable Transaction parentTransaction, byte[] payload, int offset) throws ProtocolException {
|
||||
super(params, payload, offset);
|
||||
setParent(checkNotNull(parentTransaction));
|
||||
setParent(parentTransaction);
|
||||
this.value = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue