mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 03:12:05 +02:00
Set daemon address to WalletManager (requires #3576)
This commit is contained in:
parent
cd4418dc45
commit
a9331a757f
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user