WalletManager: async setDaemonAddress

This commit is contained in:
xiphon
2019-05-27 22:13:53 +00:00
parent c286c7e5a8
commit 8bc9fbecaf
3 changed files with 8 additions and 6 deletions

View File

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