mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
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
This commit is contained in:
parent
f7f29d72fa
commit
94643ca47d
@ -122,6 +122,7 @@ bool AddWallet(const std::shared_ptr<CWallet>& wallet)
|
|||||||
assert(::masternodeSync != nullptr && ::coinJoinClientManagers != nullptr);
|
assert(::masternodeSync != nullptr && ::coinJoinClientManagers != nullptr);
|
||||||
::coinJoinClientManagers->Add(*wallet);
|
::coinJoinClientManagers->Add(*wallet);
|
||||||
g_wallet_init_interface.InitCoinJoinSettings(*::coinJoinClientManagers);
|
g_wallet_init_interface.InitCoinJoinSettings(*::coinJoinClientManagers);
|
||||||
|
wallet->NotifyCanGetAddressesChanged();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user