mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-11-10 13:13:36 +01: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);
|
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
|
// Getters
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -222,8 +222,6 @@ public class BuyerStep2View extends TradeStepView {
|
|||||||
@Override
|
@Override
|
||||||
protected void onPendingTradesInitialized() {
|
protected void onPendingTradesInitialized() {
|
||||||
super.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
|
@Override
|
||||||
protected void onPendingTradesInitialized() {
|
protected void onPendingTradesInitialized() {
|
||||||
super.onPendingTradesInitialized();
|
super.onPendingTradesInitialized();
|
||||||
model.checkTakerFeeTx(trade);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user