mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Set daemon address to WalletManager (requires #3576)
This commit is contained in:
parent
cd4418dc45
commit
a9331a757f
1 changed files with 4 additions and 1 deletions
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 a new issue