diff options
| author | John Newbery <[email protected]> | 2018-03-27 15:35:54 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-03-27 15:35:54 -0400 |
| commit | c7ec5243892c38f9f77781b0e24a237942e7c776 (patch) | |
| tree | 6f93e2bee23ecac7fc1c03d63713e1575304a02e /src/bitcoind.cpp | |
| parent | [wallet] Use global g_wallet_init_interface to init/destroy the wallet. (diff) | |
| download | discoin-c7ec5243892c38f9f77781b0e24a237942e7c776.tar.xz discoin-c7ec5243892c38f9f77781b0e24a237942e7c776.zip | |
[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 a849683eb..5eba1cbeb 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 // |