fixed difficulty 400

This commit is contained in:
woodser 2023-04-02 13:07:06 -04:00
parent a03941817e
commit 11f1d75f27
3 changed files with 3 additions and 4 deletions

View file

@ -70,7 +70,7 @@ public class CoreNotificationService {
.setType(NotificationType.ERROR)
.setTimestamp(System.currentTimeMillis())
.setTitle(title)
.setMessage(errorMessage)
.setMessage(errorMessage == null ? "null" : errorMessage)
.build());
}
}

View file

@ -784,7 +784,6 @@ public abstract class Trade implements Tradable, Model {
private void closeWallet() {
synchronized (walletLock) {
if (wallet == null) throw new RuntimeException("Trade wallet to close was not previously opened for trade " + getId());
if (wallet.getPath() == null) log.warn("HOW DID PATH BECOME NULL?");
xmrWalletService.closeWallet(wallet, true);
wallet = null;
}