diff options
author | Samuel Dobson <dobsonsa68@gmail.com> | 2020-11-02 11:54:49 +1300 |
---|---|---|
committer | Samuel Dobson <dobsonsa68@gmail.com> | 2020-11-02 11:58:19 +1300 |
commit | 26d7941224bcfe4f6ce9d4462610f300c9bd029a (patch) | |
tree | ca6916958e9489ccc8c52e411f2f4664296742ae /src | |
parent | f1fcbdea25558d0562e975f79fc11c614d15bad6 (diff) | |
parent | bf6855a9096b25aa75bba61b57ee1b2433d49707 (diff) |
Merge #20230: wallet: Fix bug when just created encrypted wallet cannot get address
bf6855a9096b25aa75bba61b57ee1b2433d49707 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 ACK bf6855a9096b25aa75bba61b57ee1b2433d49707
kristapsk:
ACK bf6855a9096b25aa75bba61b57ee1b2433d49707
meshcollider:
Tested ACK bf6855a9096b25aa75bba61b57ee1b2433d49707
Tree-SHA512: eca0ab306d7206f2e5db568e83217bd854caac104379f4d8fb261db832d4d6310cbb1eab44ce9b05a5ac2eb5879a623b729752a88810f8370c24518a8d81292d
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; } |