aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-23 19:24:24 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-23 19:24:24 +0300
commitbf6855a9096b25aa75bba61b57ee1b2433d49707 (patch)
tree73b81ef1d8bc512ac5ce2b5ef8cd8c91452f1913 /src/wallet/wallet.cpp
parent49984b44cfcd3fd0cef16c8ce97197973afc3c04 (diff)
downloadbitcoin-bf6855a9096b25aa75bba61b57ee1b2433d49707.tar.xz
wallet: Fix bug when just created encrypted wallet cannot get address
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp1
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;
}