mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
remove taker fee tx check on pending trades initialized
This commit is contained in:
parent
e4046bd84e
commit
3a50397a61
@ -223,32 +223,6 @@ public class PendingTradesViewModel extends ActivatableWithDataModel<PendingTrad
|
||||
messageStateProperty.set(messageState);
|
||||
}
|
||||
|
||||
public void checkTakerFeeTx(Trade trade) {
|
||||
log.warn("PendingTradesViewModel.checkTakerFeeTx() needs adapted to XMR");
|
||||
return; // TODO (woodser): PendingTradesViewModel.checkTakerFeeTx() needs adapted to XMR, use common TradeDataValidation utility
|
||||
// mempoolStatus.setValue(-1);
|
||||
// mempoolService.validateOfferTakerTx(trade, (txValidator -> {
|
||||
// mempoolStatus.setValue(txValidator.isFail() ? 0 : 1);
|
||||
// if (txValidator.isFail()) {
|
||||
// String errorMessage = "Validation of Taker Tx returned: " + txValidator.toString();
|
||||
// log.warn(errorMessage);
|
||||
// // prompt user to open mediation
|
||||
// if (trade.getDisputeState() == Trade.DisputeState.NO_DISPUTE) {
|
||||
// UserThread.runAfter(() -> {
|
||||
// Popup popup = new Popup();
|
||||
// popup.headLine(Res.get("portfolio.pending.openSupportTicket.headline"))
|
||||
// .message(Res.get("portfolio.pending.invalidTx", errorMessage))
|
||||
// .actionButtonText(Res.get("portfolio.pending.openSupportTicket.headline"))
|
||||
// .onAction(dataModel::onOpenSupportTicket)
|
||||
// .closeButtonText(Res.get("shared.cancel"))
|
||||
// .onClose(popup::hide)
|
||||
// .show();
|
||||
// }, 100, TimeUnit.MILLISECONDS);
|
||||
// }
|
||||
// }
|
||||
// }));
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Getters
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -222,8 +222,6 @@ public class BuyerStep2View extends TradeStepView {
|
||||
@Override
|
||||
protected void onPendingTradesInitialized() {
|
||||
super.onPendingTradesInitialized();
|
||||
//validatePayoutTx(); // TODO (woodser): no payout tx in xmr integration, do something else?
|
||||
model.checkTakerFeeTx(trade);
|
||||
}
|
||||
|
||||
|
||||
|
@ -65,7 +65,6 @@ public class SellerStep2View extends TradeStepView {
|
||||
@Override
|
||||
protected void onPendingTradesInitialized() {
|
||||
super.onPendingTradesInitialized();
|
||||
model.checkTakerFeeTx(trade);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user