ChildMessage: Fix a missing in constructor argument.
@@ -43,7 +43,8 @@ public abstract class ChildMessage extends Message {
super(params, payload, offset, protocolVersion);
}
- public ChildMessage(NetworkParameters params, byte[] payload, int offset, int protocolVersion, Message parent, MessageSerializer setSerializer, int length) throws ProtocolException {
+ public ChildMessage(NetworkParameters params, byte[] payload, int offset, int protocolVersion,
+ @Nullable Message parent, MessageSerializer setSerializer, int length) throws ProtocolException {
super(params, payload, offset, protocolVersion, setSerializer, length);
this.parent = parent;
}
