diff options
| author | Hennadii Stepanov <[email protected]> | 2020-10-23 19:24:24 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-10-23 19:24:24 +0300 |
| commit | bf6855a9096b25aa75bba61b57ee1b2433d49707 (patch) | |
| tree | 73b81ef1d8bc512ac5ce2b5ef8cd8c91452f1913 | |
| parent | Merge bitcoin-core/gui#71: Fix visual quality of text in QR image (diff) | |
| download | discoin-bf6855a9096b25aa75bba61b57ee1b2433d49707.tar.xz discoin-bf6855a9096b25aa75bba61b57ee1b2433d49707.zip | |
wallet: Fix bug when just created encrypted wallet cannot get address
| -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 6b7d05fdf..d1cde6aa8 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; } |