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 (tradeOptional.isPresent()) thrownewRuntimeException("Cannot create trade protocol because trade with ID " + offer.getId() + " is already open");
923
+
924
+
// ensure failed trade is not processing
925
+
tradeOptional = getFailedTrade(offer.getId());
926
+
if (tradeOptional.isPresent() && tradeOptional.get().walletExists()) thrownewRuntimeException("Cannot create trade protocol because trade with ID " + offer.getId() + " has failed but is not processed");
0 commit comments