diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-10-23 19:24:24 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-10-23 19:24:24 +0300 |
commit | bf6855a9096b25aa75bba61b57ee1b2433d49707 (patch) | |
tree | 73b81ef1d8bc512ac5ce2b5ef8cd8c91452f1913 /src | |
parent | 49984b44cfcd3fd0cef16c8ce97197973afc3c04 (diff) | |
download | bitcoin-bf6855a9096b25aa75bba61b57ee1b2433d49707.tar.xz |
wallet: Fix bug when just created encrypted wallet cannot get address
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 6b7d05fdf3..d1cde6aa89 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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; } |