mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
Merge #20230: wallet: Fix bug when just created encrypted wallet cannot get address
bf6855a909
wallet: Fix bug when just created encrypted wallet cannot get address (Hennadii Stepanov) Pull request description: Fix https://github.com/bitcoin-core/gui/issues/105 ACKs for top commit: achow101: Tested ACKbf6855a909
kristapsk: ACKbf6855a909
meshcollider: Tested ACKbf6855a909
Tree-SHA512: eca0ab306d7206f2e5db568e83217bd854caac104379f4d8fb261db832d4d6310cbb1eab44ce9b05a5ac2eb5879a623b729752a88810f8370c24518a8d81292d
This commit is contained in:
commit
26d7941224
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…
Reference in a new issue