wallet: Refactor g_wallet_init_interface to const reference

This commit is contained in:
João Barbosa
2018-04-13 14:05:55 +01:00
parent 1936125671
commit 6ec78f1461
3 changed files with 12 additions and 14 deletions

View File

@@ -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
{