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

@ -71,7 +71,7 @@ monerod-local1:
--no-zmq \
--add-exclusive-node 127.0.0.1:28080 \
--rpc-access-control-origins http://localhost:8080 \
--fixed-difficulty 300
--fixed-difficulty 400
monerod-local2:
./.localnet/monerod \
@ -85,7 +85,7 @@ monerod-local2:
--confirm-external-bind \
--add-exclusive-node 127.0.0.1:48080 \
--rpc-access-control-origins http://localhost:8080 \
--fixed-difficulty 300
--fixed-difficulty 400
funding-wallet-stagenet:
./.localnet/monero-wallet-rpc \

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;
}