diff --git a/core/src/main/java/bisq/core/dao/burningman/model/BurningManCandidate.java b/core/src/main/java/bisq/core/dao/burningman/model/BurningManCandidate.java index c94b458e8e..a61a0bc254 100644 --- a/core/src/main/java/bisq/core/dao/burningman/model/BurningManCandidate.java +++ b/core/src/main/java/bisq/core/dao/burningman/model/BurningManCandidate.java @@ -79,6 +79,11 @@ public class BurningManCandidate { return isBugfix6699Activated ? receiverAddress : mostRecentAddress; } + public Optional getMostRecentAddress() { + // Lombok getter is set for class, so we would get a getMostRecentAddress but want to ensure it's not accidentally used. + throw new UnsupportedOperationException("getMostRecentAddress must not be used. Use getReceiverAddress instead."); + } + public void addBurnOutputModel(BurnOutputModel burnOutputModel) { if (burnOutputModels.contains(burnOutputModel)) { return;