From 7b355ff70a69170d9fb090759ac56948c715c23c Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 14 Jul 2022 21:42:18 -0400 Subject: [PATCH] reset xmr address entries on offer removed --- core/src/main/java/bisq/core/offer/OpenOfferManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/bisq/core/offer/OpenOfferManager.java b/core/src/main/java/bisq/core/offer/OpenOfferManager.java index ae2d990d..938a653e 100644 --- a/core/src/main/java/bisq/core/offer/OpenOfferManager.java +++ b/core/src/main/java/bisq/core/offer/OpenOfferManager.java @@ -256,7 +256,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe log.warn("We found an outdated addressEntry for openOffer {} (openOffers does not contain that " + "offer), offers.size={}", e.getOfferId(), openOffers.size()); - btcWalletService.resetAddressEntriesForOpenOffer(e.getOfferId()); + xmrWalletService.resetAddressEntriesForOpenOffer(e.getOfferId()); }); } @@ -570,7 +570,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe openOffers.remove(openOffer); closedTradableManager.add(openOffer); log.info("onRemoved offerId={}", offer.getId()); - btcWalletService.resetAddressEntriesForOpenOffer(offer.getId()); + xmrWalletService.resetAddressEntriesForOpenOffer(offer.getId()); requestPersistence(); }