DisputeOpenedMessage accepts null updated multisig hex

This commit is contained in:
woodser 2023-05-29 12:26:25 -04:00
parent c197ffb282
commit 0251b49d61

View File

@ -18,6 +18,7 @@
package haveno.core.support.dispute.messages;
import haveno.common.app.Version;
import haveno.common.proto.ProtoUtil;
import haveno.core.proto.CoreProtoResolver;
import haveno.core.support.SupportType;
import haveno.core.support.dispute.Dispute;
@ -90,7 +91,7 @@ public final class DisputeOpenedMessage extends DisputeMessage {
proto.getUid(),
messageVersion,
SupportType.fromProto(proto.getType()),
proto.getUpdatedMultisigHex(),
ProtoUtil.stringOrNullFromProto(proto.getUpdatedMultisigHex()),
proto.hasPaymentSentMessage() ? PaymentSentMessage.fromProto(proto.getPaymentSentMessage(), messageVersion) : null);
}