mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
wallet: Fix bug when just created encrypted wallet cannot get address
This commit is contained in:
parent
49984b44cf
commit
bf6855a909
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ bool AddWallet(const std::shared_ptr<CWallet>& wallet)
|
|||
if (i != vpwallets.end()) return false;
|
||||
vpwallets.push_back(wallet);
|
||||
wallet->ConnectScriptPubKeyManNotifiers();
|
||||
wallet->NotifyCanGetAddressesChanged();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue