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;
}
// return scheduled tx if already assigned
if (openOffer.getScheduledTxHashes() != null) {
return xmrWalletService.getWallet().getTx(openOffer.getScheduledTxHashes().get(0));
}
// return if awaiting scheduled tx
if (openOffer.getScheduledTxHashes() != null) return null;
// cache all transactions including from pool
List<MoneroTxWallet> allTxs = xmrWalletService.getWallet().getTxs(new MoneroTxQuery().setIncludeOutputs(true));