diff --git a/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryRequest.java b/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryRequest.java index a8cbde00612..7b46d04fecc 100644 --- a/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryRequest.java +++ b/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryRequest.java @@ -21,10 +21,12 @@ import bisq.common.app.Version; import bisq.common.proto.network.NetworkEnvelope; +import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; @Getter +@EqualsAndHashCode(callSuper = false) @ToString public class GetInventoryRequest extends NetworkEnvelope { private final String version; diff --git a/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryResponse.java b/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryResponse.java index 47a64fead4c..2dd79bfc1d4 100644 --- a/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryResponse.java +++ b/core/src/main/java/bisq/core/network/p2p/inventory/messages/GetInventoryResponse.java @@ -28,10 +28,12 @@ import java.util.HashMap; import java.util.Map; +import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; @Getter +@EqualsAndHashCode(callSuper = false) @ToString public class GetInventoryResponse extends NetworkEnvelope { private final Map inventory;