mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +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() {
|
function connectRemoteNode() {
|
||||||
console.log("connecting remote node");
|
console.log("connecting remote node");
|
||||||
persistentSettings.useRemoteNode = true;
|
persistentSettings.useRemoteNode = true;
|
||||||
currentWallet.initAsync(persistentSettings.remoteNodeAddress);
|
currentDaemonAddress = persistentSettings.remoteNodeAddress;
|
||||||
|
currentWallet.initAsync(currentDaemonAddress);
|
||||||
|
walletManager.setDaemonAddress(currentDaemonAddress);
|
||||||
remoteNodeConnected = true;
|
remoteNodeConnected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -428,6 +430,7 @@ ApplicationWindow {
|
|||||||
persistentSettings.useRemoteNode = false;
|
persistentSettings.useRemoteNode = false;
|
||||||
currentDaemonAddress = localDaemonAddress
|
currentDaemonAddress = localDaemonAddress
|
||||||
currentWallet.initAsync(currentDaemonAddress);
|
currentWallet.initAsync(currentDaemonAddress);
|
||||||
|
walletManager.setDaemonAddress(currentDaemonAddress);
|
||||||
remoteNodeConnected = false;
|
remoteNodeConnected = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user