Exclude mostRecentAddress from EqualsAndHashCode

The getter was called by EqualsAndHashCode which throws an exception as it is is not intended to get used anymore.

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-05-25 00:52:53 +02:00
parent df6fe57423
commit 93ba24aabb
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -54,6 +54,7 @@ public class BurningManCandidate {
// trade protocol. We use the legacyMostRecentAddress until the activation date where we // trade protocol. We use the legacyMostRecentAddress until the activation date where we
// enforce the version by the filter to ensure users have updated. // enforce the version by the filter to ensure users have updated.
// See: https://github.com/bisq-network/bisq/issues/6699 // See: https://github.com/bisq-network/bisq/issues/6699
@EqualsAndHashCode.Exclude
protected Optional<String> mostRecentAddress = Optional.empty(); protected Optional<String> mostRecentAddress = Optional.empty();
private final Set<BurnOutputModel> burnOutputModels = new HashSet<>(); private final Set<BurnOutputModel> burnOutputModels = new HashSet<>();