mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:17:26 -04:00
Set daemon address to WalletManager (requires #3576)
This commit is contained in:
5
main.qml
5
main.qml
@@ -419,7 +419,9 @@ ApplicationWindow {
|
||||
function connectRemoteNode() {
|
||||
console.log("connecting remote node");
|
||||
persistentSettings.useRemoteNode = true;
|
||||
currentWallet.initAsync(persistentSettings.remoteNodeAddress);
|
||||
currentDaemonAddress = persistentSettings.remoteNodeAddress;
|
||||
currentWallet.initAsync(currentDaemonAddress);
|
||||
walletManager.setDaemonAddress(currentDaemonAddress);
|
||||
remoteNodeConnected = true;
|
||||
}
|
||||
|
||||
@@ -428,6 +430,7 @@ ApplicationWindow {
|
||||
persistentSettings.useRemoteNode = false;
|
||||
currentDaemonAddress = localDaemonAddress
|
||||
currentWallet.initAsync(currentDaemonAddress);
|
||||
walletManager.setDaemonAddress(currentDaemonAddress);
|
||||
remoteNodeConnected = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user