aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-03-27 15:35:54 -0400
committerJohn Newbery <john@johnnewbery.com>2018-03-27 15:35:54 -0400
commitc7ec5243892c38f9f77781b0e24a237942e7c776 (patch)
tree6f93e2bee23ecac7fc1c03d63713e1575304a02e /src/qt/bitcoin.cpp
parent49baa4a462193d8d82b51d464740aa5f1114edf1 (diff)
[wallet] Add dummy wallet init class
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index e6a2af5f6c..cb2e6aac95 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -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