You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (isCompleted()) processModel.getTradeManager().onMoveClosedTradeToPendingTrades(this);
2988
+
StringerrorMsg = "The payout transaction is missing for trade " + getShortId() + ". This may be due to a blockchain reorganization.\n\nIf the payout does not confirm automatically, you can open a dispute or mark this trade as failed.";
2989
2989
if (isSeller() && getState().ordinal() >= State.BUYER_RECEIVED_PAYMENT_RECEIVED_MSG.ordinal()) {
2990
2990
log.warn("Resetting state of {} {} from {} to {} because payout is unpublished", getClass().getSimpleName(), getId(), getState(), Trade.State.BUYER_SENT_PAYMENT_SENT_MSG);
log.warn("Resetting state of {} {} from {} to {} because payout is unpublished", getClass().getSimpleName(), getId(), getState(), Trade.State.SELLER_CONFIRMED_PAYMENT_RECEIPT);
2995
2996
setState(State.SELLER_CONFIRMED_PAYMENT_RECEIPT);
2997
+
setErrorMessage(errorMsg);
2996
2998
}
2997
-
setErrorMessage("The payout transaction is missing for trade " + getShortId() + ". This may be due to a blockchain reorganization.\n\nIf the payout does not confirm automatically, you can open a dispute or mark this trade as failed.");
2998
2999
}
2999
3000
3000
3001
/**
@@ -3045,13 +3046,6 @@ public boolean onPayoutError(boolean syncAndPoll, boolean resendPaymentReceivedM
3045
3046
returnfalse;
3046
3047
}
3047
3048
3048
-
privatestaticbooleanisSeen(MoneroTxtx) {
3049
-
if (tx == null) returnfalse;
3050
-
if (Boolean.TRUE.equals(tx.isFailed())) returnfalse;
3051
-
if (!Boolean.TRUE.equals(tx.inTxPool()) && !Boolean.TRUE.equals(tx.isConfirmed())) returnfalse;
3052
-
returntrue;
3053
-
}
3054
-
3055
3049
privatestaticbooleanisUnlocked(MoneroTxtx) {
3056
3050
if (tx == null) returnfalse;
3057
3051
if (tx.getNumConfirmations() == null || tx.getNumConfirmations() < XmrWalletService.NUM_BLOCKS_UNLOCK) returnfalse;
0 commit comments