Tails: fix slow wallet open

This commit is contained in:
tobtoht 2020-10-15 02:19:13 +02:00
parent 1febbc869f
commit 5c7c13d76a

View file

@ -330,9 +330,9 @@ void AppContext::onWalletOpened(Wallet *wallet) {
connect(this->currentWallet, &Wallet::transactionCreated, this, &AppContext::onTransactionCreated); connect(this->currentWallet, &Wallet::transactionCreated, this, &AppContext::onTransactionCreated);
connect(this->currentWallet, &Wallet::connectionStatusChanged, this, &AppContext::onConnectionStatusChanged); connect(this->currentWallet, &Wallet::connectionStatusChanged, this, &AppContext::onConnectionStatusChanged);
this->nodes->connectToNode();
emit walletOpened(); emit walletOpened();
this->nodes->connectToNode();
this->updateBalance(); this->updateBalance();
#ifdef DONATE_BEG #ifdef DONATE_BEG