Skip to content

Commit

Permalink
Merge #20230: wallet: Fix bug when just created encrypted wallet cann…
Browse files Browse the repository at this point in the history
…ot get address

bf6855a wallet: Fix bug when just created encrypted wallet cannot get address (Hennadii Stepanov)

Pull request description:

  Fix bitcoin-core/gui#105

ACKs for top commit:
  achow101:
    Tested ACK bf6855a
  kristapsk:
    ACK bf6855a
  meshcollider:
    Tested ACK bf6855a

Tree-SHA512: eca0ab306d7206f2e5db568e83217bd854caac104379f4d8fb261db832d4d6310cbb1eab44ce9b05a5ac2eb5879a623b729752a88810f8370c24518a8d81292d
  • Loading branch information
meshcollider committed Nov 1, 2020
2 parents f1fcbde + bf6855a commit 26d7941
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 26d7941

Please sign in to comment.