diff options
| author | stoffu <stoffu@protonmail.ch> | 2018-04-07 14:10:31 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2018-04-07 14:10:31 +0900 |
| commit | a9331a757fd779580ff96764e301a9a5963094bf (patch) | |
| tree | 5fa10671ba1b516368f2cd9ef15484a3a0cb1a3e | |
| parent | cd4418dc458c0d6c01fd0fd75feab2721fdbac50 (diff) | |
| download | monzero-gui-a9331a757fd779580ff96764e301a9a5963094bf.tar.gz monzero-gui-a9331a757fd779580ff96764e301a9a5963094bf.tar.xz monzero-gui-a9331a757fd779580ff96764e301a9a5963094bf.zip | |
Set daemon address to WalletManager (requires #3576)
| -rw-r--r-- | main.qml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |
