Skip to content

Commit bf6855a

Browse files
committed
wallet: Fix bug when just created encrypted wallet cannot get address
1 parent 49984b4 commit bf6855a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ bool AddWallet(const std::shared_ptr<CWallet>& wallet)
100100
if (i != vpwallets.end()) return false;
101101
vpwallets.push_back(wallet);
102102
wallet->ConnectScriptPubKeyManNotifiers();
103+
wallet->NotifyCanGetAddressesChanged();
103104
return true;
104105
}
105106

0 commit comments

Comments
 (0)