mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Check if offer id is null before republishing
This commit is contained in:
parent
c7e6c0309a
commit
90565bf43b
@ -444,7 +444,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
||||
final long maxDelay = (i + 2) * delay;
|
||||
final OpenOffer openOffer = openOffersList.get(i);
|
||||
UserThread.runAfterRandomDelay(() -> {
|
||||
if (openOffers.contains(openOffer))
|
||||
if (openOffers.contains(openOffer) && openOffer.getId() != null)
|
||||
republishOffer(openOffer);
|
||||
}, minDelay, maxDelay, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user