mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
wallet: Refactor g_wallet_init_interface to const reference
This commit is contained in:
@@ -47,8 +47,7 @@ public:
|
||||
void Close() const override;
|
||||
};
|
||||
|
||||
static WalletInit g_wallet_init;
|
||||
WalletInitInterface* const g_wallet_init_interface = &g_wallet_init;
|
||||
const WalletInitInterface& g_wallet_init_interface = WalletInit();
|
||||
|
||||
std::string WalletInit::GetHelpString(bool showDebug) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user