mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-01-03 09:29:44 +00:00
reset xmr address entries on offer removed
This commit is contained in:
parent
f9c5cd1f2c
commit
7b355ff70a
1 changed files with 2 additions and 2 deletions
|
@ -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 " +
|
log.warn("We found an outdated addressEntry for openOffer {} (openOffers does not contain that " +
|
||||||
"offer), offers.size={}",
|
"offer), offers.size={}",
|
||||||
e.getOfferId(), openOffers.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);
|
openOffers.remove(openOffer);
|
||||||
closedTradableManager.add(openOffer);
|
closedTradableManager.add(openOffer);
|
||||||
log.info("onRemoved offerId={}", offer.getId());
|
log.info("onRemoved offerId={}", offer.getId());
|
||||||
btcWalletService.resetAddressEntriesForOpenOffer(offer.getId());
|
xmrWalletService.resetAddressEntriesForOpenOffer(offer.getId());
|
||||||
requestPersistence();
|
requestPersistence();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue