mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
wallet: Make WalletInitInterface and DummyWalletInit private
This commit is contained in:
parent
5f0c6a7b0e
commit
39bc2faa2e
9 changed files with 54 additions and 85 deletions
|
|
@ -18,9 +18,6 @@
|
|||
#include <httpserver.h>
|
||||
#include <httprpc.h>
|
||||
#include <utilstrencodings.h>
|
||||
#if ENABLE_WALLET
|
||||
#include <wallet/init.h>
|
||||
#endif
|
||||
#include <walletinitinterface.h>
|
||||
|
||||
#include <boost/thread.hpp>
|
||||
|
|
@ -63,12 +60,6 @@ bool AppInit(int argc, char* argv[])
|
|||
{
|
||||
bool fRet = false;
|
||||
|
||||
#if ENABLE_WALLET
|
||||
g_wallet_init_interface.reset(new WalletInit);
|
||||
#else
|
||||
g_wallet_init_interface.reset(new DummyWalletInit);
|
||||
#endif
|
||||
|
||||
//
|
||||
// Parameters
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue