check trades, disputes, and offers and add prompt on shut down

Co-authored-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
This commit is contained in:
woodser 2023-08-14 08:19:03 -04:00
parent 3b89212c6f
commit cb7d9364e5
14 changed files with 155 additions and 217 deletions

View file

@ -125,8 +125,6 @@ public class ContractWindow extends Overlay<ContractWindow> {
boolean showAcceptedCountryCodes = acceptedCountryCodes != null && !acceptedCountryCodes.isEmpty();
int rows = 18;
if (dispute.getDepositTxSerialized() != null)
rows++;
if (dispute.getPayoutTxSerialized() != null)
rows++;
if (dispute.getDelayedPayoutTxId() != null)

View file

@ -473,9 +473,7 @@ public class PendingTradesDataModel extends ActivatableDataModel {
// trade.getMaxTradePeriodDate().getTime(),
// trade.getContract(),
// trade.getContractHash(),
// depositTxSerialized,
// payoutTxSerialized,
// depositTxHashAsString,
// payoutTxHashAsString,
// trade.getContractAsJson(),
// trade.getMakerContractSignature(),
@ -503,9 +501,7 @@ public class PendingTradesDataModel extends ActivatableDataModel {
trade.getMaxTradePeriodDate().getTime(),
trade.getContract(),
trade.getContractHash(),
depositTxSerialized,
payoutTxSerialized,
depositTxId,
payoutTxHashAsString,
trade.getContractAsJson(),
trade.getMaker().getContractSignature(),

View file

@ -440,9 +440,6 @@ public abstract class DisputeView extends ActivatableView<VBox, Void> {
return FilterResult.SELLER_ACCOUNT_DETAILS;
}
if (dispute.getDepositTxId() != null && dispute.getDepositTxId().contains(filter)) {
return FilterResult.DEPOSIT_TX;
}
if (dispute.getPayoutTxId() != null && dispute.getPayoutTxId().contains(filter)) {
return FilterResult.PAYOUT_TX;
}