[wallet] Add dummy wallet init class

This commit is contained in:
John Newbery
2018-03-27 15:35:54 -04:00
parent 49baa4a462
commit c7ec524389
4 changed files with 29 additions and 23 deletions

View File

@@ -35,8 +35,8 @@
#ifdef ENABLE_WALLET
#include <wallet/init.h>
#include <wallet/wallet.h>
#include <walletinitinterface.h>
#endif
#include <walletinitinterface.h>
#include <stdint.h>
@@ -674,6 +674,8 @@ int main(int argc, char *argv[])
// Hook up the wallet init interface
g_wallet_init_interface.reset(new WalletInit);
#else
g_wallet_init_interface.reset(new DummyWalletInit);
#endif
/// 9. Main GUI initialization