split output tx is null while awaiting scheduled tx

This commit is contained in:
woodser 2023-12-27 16:44:06 -05:00
parent 2e86d4a62a
commit bc4d8fc8c2

View file

@ -926,10 +926,8 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
if (earliestUnscheduledTx != null) return earliestUnscheduledTx; if (earliestUnscheduledTx != null) return earliestUnscheduledTx;
} }
// return scheduled tx if already assigned // return if awaiting scheduled tx
if (openOffer.getScheduledTxHashes() != null) { if (openOffer.getScheduledTxHashes() != null) return null;
return xmrWalletService.getWallet().getTx(openOffer.getScheduledTxHashes().get(0));
}
// cache all transactions including from pool // cache all transactions including from pool
List<MoneroTxWallet> allTxs = xmrWalletService.getWallet().getTxs(new MoneroTxQuery().setIncludeOutputs(true)); List<MoneroTxWallet> allTxs = xmrWalletService.getWallet().getTxs(new MoneroTxQuery().setIncludeOutputs(true));