Merge pull request #2178

8bc9fbe WalletManager: async setDaemonAddress (xiphon)
This commit is contained in:
luigi1111
2019-06-05 22:30:46 -05:00
3 changed files with 8 additions and 6 deletions

View File

@@ -253,7 +253,7 @@ ApplicationWindow {
}
// Local daemon settings
walletManager.setDaemonAddress(localDaemonAddress)
walletManager.setDaemonAddressAsync(localDaemonAddress);
// enable timers
userInActivityTimer.running = true;
@@ -605,7 +605,7 @@ ApplicationWindow {
persistentSettings.useRemoteNode = true;
currentDaemonAddress = persistentSettings.remoteNodeAddress;
currentWallet.initAsync(currentDaemonAddress);
walletManager.setDaemonAddress(currentDaemonAddress);
walletManager.setDaemonAddressAsync(currentDaemonAddress);
remoteNodeConnected = true;
}
@@ -617,7 +617,7 @@ ApplicationWindow {
persistentSettings.useRemoteNode = false;
currentDaemonAddress = localDaemonAddress
currentWallet.initAsync(currentDaemonAddress);
walletManager.setDaemonAddress(currentDaemonAddress);
walletManager.setDaemonAddressAsync(currentDaemonAddress);
remoteNodeConnected = false;
}