diff options
author | John Newbery <john@johnnewbery.com> | 2018-03-27 15:35:54 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-03-27 15:35:54 -0400 |
commit | c7ec5243892c38f9f77781b0e24a237942e7c776 (patch) | |
tree | 6f93e2bee23ecac7fc1c03d63713e1575304a02e /src/bitcoind.cpp | |
parent | 49baa4a462193d8d82b51d464740aa5f1114edf1 (diff) |
[wallet] Add dummy wallet init class
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r-- | src/bitcoind.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index a849683eb0..5eba1cbeb9 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -20,8 +20,8 @@ #include <utilstrencodings.h> #if ENABLE_WALLET #include <wallet/init.h> -#include <walletinitinterface.h> #endif +#include <walletinitinterface.h> #include <boost/thread.hpp> @@ -65,6 +65,8 @@ bool AppInit(int argc, char* argv[]) #if ENABLE_WALLET g_wallet_init_interface.reset(new WalletInit); +#else + g_wallet_init_interface.reset(new DummyWalletInit); #endif // |