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

View File

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

View File

@ -784,7 +784,6 @@ public abstract class Trade implements Tradable, Model {
private void closeWallet() { private void closeWallet() {
synchronized (walletLock) { synchronized (walletLock) {
if (wallet == null) throw new RuntimeException("Trade wallet to close was not previously opened for trade " + getId()); 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); xmrWalletService.closeWallet(wallet, true);
wallet = null; wallet = null;
} }