mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00:00
fix possible npe on connection changed
This commit is contained in:
parent
ff9f0a7204
commit
079944c934
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ public final class CoreMoneroConnectionsService {
|
|||
daemon = null;
|
||||
connectionList.setCurrentConnectionUri(null);
|
||||
} else {
|
||||
daemon = new MoneroDaemonRpc(connectionManager.getConnection());
|
||||
daemon = new MoneroDaemonRpc(currentConnection);
|
||||
connectionList.removeConnection(currentConnection.getUri());
|
||||
connectionList.addConnection(currentConnection);
|
||||
connectionList.setCurrentConnectionUri(currentConnection.getUri());
|
||||
|
|
Loading…
Reference in a new issue