only resync for missing deposit txs if state is seen

This commit is contained in:
woodser 2025-09-23 02:23:07 -04:00
parent d7c934eac4
commit 9b179f4b10
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF

View file

@ -2894,7 +2894,7 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
txs = getTxs(true);
// txs may not be fetched if confirmed after last sync
if (isDepositsPublished() && !hasDepositTxs(txs)) {
if (isDepositsSeen() && !hasDepositTxs(txs)) {
log.info("Deposits are missing for {} {} after being published, resyncing", getClass().getSimpleName(), getId());
HavenoUtils.waitFor(MISSING_TXS_DELAY_MS);
sync();